Details

Time bar (total: 2.8s)

sample30.0ms

Algorithm
intervals
Results
12.0ms371×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.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

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
22.0ms
(* d1 (- d4 d1))
0.0ms
(fma (- d2 d3) d1 (* d1 (- d4 d1)))

series93.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0213430
1888283
25002273

prune101.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite210.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:
10.0ms
(- (* d1 d2) (* d1 d3))
165.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
33.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

series137.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (* d1 d2) (* d1 d3))
58.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
40.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

simplify42.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0299485
11251403
25001388

prune173.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u diff-log sum-log add-cbrt-cube log1p-expm1-u
+-commutative sub-neg associate-+r+ flip3-- fma-def flip3-+ associate--l+ flip-- flip-+ fma-udef difference-of-squares
Counts
2 → 38
Calls
2 calls:
52.0ms
(- (+ (* d1 d2) (fma d1 d4 (- (* d3 d1)))) (* d1 d1))
7.0ms
(+ (* d1 d2) (fma d1 d4 (- (* d3 d1))))

series104.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(- (+ (* d1 d2) (fma d1 d4 (- (* d3 d1)))) (* d1 d1))
42.0ms
(+ (* d1 d2) (fma d1 d4 (- (* d3 d1))))

simplify132.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0203371
1759323
24426302
35001289

prune116.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
49×prod-diff
36×add-sqr-sqrt
34×associate--l+
32×add-cube-cbrt
30×distribute-rgt-in distribute-lft-in
13×distribute-lft-out
associate-*r*
sub-neg
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*l* distribute-lft-out--
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
fma-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
2 → 102
Calls
2 calls:
39.0ms
(- (* d1 (- (+ d4 d2) d3)) (* d1 d1))
84.0ms
(* d1 (- (+ d4 d2) d3))

series93.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0333852
11440556
25002556

prune177.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes69.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
0115
1115

end0.0ms

sample874.0ms

Algorithm
intervals
Results
394.0ms12061×body80valid