Details

Time bar (total: 3.4s)

sample32.0ms

Algorithm
intervals
Results
17.0ms374×body80valid

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0266
1815
22484
36134
412954
525244
633494
743894
846484
946484

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite206.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:
32.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))
164.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
8.0ms
(- (* d1 d2) (* d1 d3))

series114.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))
49.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
33.0ms
(- (* d1 d2) (* d1 d3))

simplify44.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0299485
11295403
25001388

prune301.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

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

series128.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(* d1 (- d4 d1))
51.0ms
(fma d1 (- d2 d3) (* d1 (- d4 d1)))
46.0ms
(fma (- d1) d1 (* d1 d1))

simplify39.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0238485
1977326
25001319

prune275.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sqrt (* d1 (- d4 d1))) (sqrt (* d1 (- d4 d1))))
9.0b
(sqrt (* d1 (- d4 d1)))
9.0b
(sqrt (* d1 (- d4 d1)))
40.0b
(fma (- d1) d1 (* d1 d1))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
59×pow1
32×sqrt-pow1
22×pow-prod-down
18×associate-*r/
16×sqrt-div
12×pow1/2
10×add-sqr-sqrt pow-prod-up
add-cube-cbrt flip3-- *-un-lft-identity flip--
add-exp-log sqrt-prod pow-sqr add-cbrt-cube
expm1-log1p-u frac-times swap-sqr associate-*r* associate-*l* log1p-expm1-u add-log-exp
associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 99
Calls
4 calls:
56.0ms
(* (sqrt (* d1 (- d4 d1))) (sqrt (* d1 (- d4 d1))))
16.0ms
(sqrt (* d1 (- d4 d1)))
16.0ms
(sqrt (* d1 (- d4 d1)))
0.0ms
(fma (- d1) d1 (* d1 d1))

series336.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (sqrt (* d1 (- d4 d1))) (sqrt (* d1 (- d4 d1))))
123.0ms
(sqrt (* d1 (- d4 d1)))
118.0ms
(sqrt (* d1 (- d4 d1)))
50.0ms
(fma (- d1) d1 (* d1 d1))

simplify43.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0226541
1959478
25002457

prune555.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes116.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
0157
1157

end0.0ms

sample884.0ms

Algorithm
intervals
Results
570.0ms11976×body80valid