Details

Time bar (total: 2.4s)

sample25.0ms

Algorithm
intervals
Results
12.0ms371×body80valid

simplify105.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

localize12.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))

rewrite88.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:
72.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
3.0ms
(- (* d1 d2) (* d1 d3))
12.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

series122.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0299485
11251403
25001388

prune177.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
42×prod-diff
36×add-sqr-sqrt
33×*-un-lft-identity
31×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in associate--r+
10×add-log-exp
sub-neg
distribute-lft-out--
pow1 add-exp-log fma-neg associate-*r* add-cbrt-cube
diff-log
expm1-log1p-u flip3-- associate-*l* associate--l+ flip-- log1p-expm1-u
associate-*r/ difference-of-squares
associate--l- pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 114
Calls
3 calls:
18.0ms
(- (- (* d1 d2) (* d1 (- d3 d4))) (* d1 d1))
11.0ms
(* d1 (- d3 d4))
6.0ms
(- (* d1 d2) (* d1 (- d3 d4)))

series125.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0482876
11898634
25001626

prune226.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma d1 (- d2 (- d3 d4)) (- (* d1 d1)))

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(fma d1 (- d2 (- d3 d4)) (- (* d1 d1)))

simplify157.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
06090
115474
274473
3447671
4500171

prune38.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series131.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(- (fma d1 d2 (- (* d1 (- d3 d4)))) (* d1 d1))
43.0ms
(fma d1 d2 (- (* d1 (- d3 d4))))
34.0ms
(* d1 (- d3 d4))

simplify43.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0305644
11237474
25001456

prune170.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes84.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
0125
1125

end0.0ms

sample697.0ms

Algorithm
intervals
Results
399.0ms11921×body80valid