Details

Time bar (total: 2.7s)

sample26.0ms

Algorithm
intervals
Results
13.0ms379×body80valid

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0266
1815
22484
36134
412954
525244
633494
743894
846484
946484

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- d2 d3) d1 (* d1 (- d4 d1)))
0.0b
(* d1 (- d4 d1))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity prod-diff
16×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
associate-*r*
pow1 add-exp-log add-cbrt-cube
associate-*l*
expm1-log1p-u sub-neg associate-*r/ log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 56
Calls
2 calls:
1.0ms
(fma (- d2 d3) d1 (* d1 (- d4 d1)))
7.0ms
(* d1 (- d4 d1))

series89.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(fma (- d2 d3) d1 (* d1 (- d4 d1)))
34.0ms
(* d1 (- d4 d1))

simplify35.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0213430
1888283
25002273

prune102.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
0.0b
(- (* d1 d2) (* d1 d3))
0.0b
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity diff-log
prod-diff
fma-def fma-neg sum-log
pow1 add-exp-log expm1-log1p-u sub-neg associate-+l+ add-cbrt-cube log1p-expm1-u
associate-+l- flip3-- flip-- distribute-lft-out--
+-commutative associate--l- flip3-+ associate--l+ flip-+ difference-of-squares
Counts
3 → 64
Calls
3 calls:
9.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
4.0ms
(- (* d1 d2) (* d1 d3))
6.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

series127.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
35.0ms
(- (* d1 d2) (* d1 d3))
39.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

simplify41.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0299485
11251403
25001388

prune175.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (- d2 d3) d1 (* (* d1 (sqrt (- d4 d1))) (sqrt (- d4 d1))))
0.1b
(* d1 (sqrt (- d4 d1)))
0.1b
(* (* d1 (sqrt (- d4 d1))) (sqrt (- d4 d1)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt associate-*r*
14×sqrt-div
12×*-un-lft-identity
11×sqrt-prod
10×pow1 add-exp-log associate-*r/ add-cbrt-cube
add-cube-cbrt
flip3-- flip--
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l/ *-commutative distribute-lft-out-- difference-of-squares unswap-sqr
fma-udef
Counts
3 → 71
Calls
3 calls:
1.0ms
(fma (- d2 d3) d1 (* (* d1 (sqrt (- d4 d1))) (sqrt (- d4 d1))))
10.0ms
(* d1 (sqrt (- d4 d1)))
12.0ms
(* (* d1 (sqrt (- d4 d1))) (sqrt (- d4 d1)))

series148.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(fma (- d2 d3) d1 (* (* d1 (sqrt (- d4 d1))) (sqrt (- d4 d1))))
62.0ms
(* d1 (sqrt (- d4 d1)))
34.0ms
(* (* d1 (sqrt (- d4 d1))) (sqrt (- d4 d1)))

simplify45.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0316546
11334457
25001439

prune186.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* d1 (- d4 d1))
0.1b
(* (sqrt (* d1 (- d4 d1))) (sqrt (* d1 (- d4 d1))))
8.1b
(sqrt (* d1 (- d4 d1)))
8.1b
(sqrt (* d1 (- d4 d1)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
28×add-sqr-sqrt
24×*-un-lft-identity
23×pow-prod-down
22×add-cube-cbrt
20×associate-*r/
18×prod-diff
16×sqrt-div
12×pow1/2
11×distribute-rgt-in distribute-lft-in
10×pow-prod-up
flip3-- associate-*r* flip--
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
expm1-log1p-u frac-times swap-sqr log1p-expm1-u add-log-exp
sub-neg associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out-- difference-of-squares
Counts
4 → 135
Calls
4 calls:
8.0ms
(* d1 (- d4 d1))
14.0ms
(* (sqrt (* d1 (- d4 d1))) (sqrt (* d1 (- d4 d1))))
8.0ms
(sqrt (* d1 (- d4 d1)))
8.0ms
(sqrt (* d1 (- d4 d1)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* d1 (- d4 d1))
52.0ms
(* (sqrt (* d1 (- d4 d1))) (sqrt (* d1 (- d4 d1))))
124.0ms
(sqrt (* d1 (- d4 d1)))
127.0ms
(sqrt (* d1 (- d4 d1)))

simplify61.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0338805
11481628
25001610

prune298.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes105.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample720.0ms

Algorithm
intervals
Results
404.0ms12030×body80valid