Details

Time bar (total: 2.8s)

sample30.0ms

Algorithm
intervals
Results
19.0ms326×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0163
1363
2803
31233
41413
51433
61433

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.7b
(- (* x y) (* z y))
4.9b
(* (- (* x y) (* z y)) t)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*l* add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u flip3-- distribute-rgt-out-- associate-*l/ flip-- log1p-expm1-u
sub-neg fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 40
Calls
2 calls:
3.0ms
(- (* x y) (* z y))
10.0ms
(* (- (* x y) (* z y)) t)

series76.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(- (* x y) (* z y))
45.0ms
(* (- (* x y) (* z y)) t)

simplify100.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0173232
1656199
23963195
35001195

prune105.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

7.5b
(* (* t y) (- x z))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
18×prod-diff
16×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/
expm1-log1p-u flip3-- associate-*l* *-commutative flip-- log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 46
Calls
1 calls:
13.0ms
(* (* t y) (- x z))

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(* (* t y) (- x z))

simplify36.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0303430
11277281
25002269

prune61.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- x z) t)
7.7b
(* y (* (- x z) t))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
associate-*l*
*-un-lft-identity
add-cube-cbrt
associate-*r* pow-prod-down associate-*l/ prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ *-commutative flip-- log1p-expm1-u add-log-exp
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 46
Calls
2 calls:
13.0ms
(* (- x z) t)
12.0ms
(* y (* (- x z) t))

series64.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(* (- x z) t)
37.0ms
(* y (* (- x z) t))

simplify102.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0190207
1802174
24832174
35001174

prune105.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* t (fma x y (* z y))) (* y (- x z)))
0.4b
(+ (* x y) (* z y))
4.9b
(* t (fma x y (* z y)))
21.4b
(/ (* (* t (fma x y (* z y))) (* y (- x z))) (+ (* x y) (* z y)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
45×distribute-rgt-in distribute-lft-in
36×add-exp-log prod-diff add-cbrt-cube
34×add-sqr-sqrt
32×add-cube-cbrt *-un-lft-identity
18×pow1
17×prod-exp cbrt-unprod
pow-prod-down
associate-*r/
add-log-exp
cbrt-undiv div-exp
expm1-log1p-u sub-neg times-frac associate-*r* associate-*l* associate-/r* log1p-expm1-u
distribute-rgt-out
flip3-- flip3-+ associate-/r/ *-commutative flip-- flip-+ fma-udef associate-/l/
+-commutative fma-def frac-2neg clear-num sum-log div-inv associate-/l* unswap-sqr
Counts
4 → 142
Calls
4 calls:
21.0ms
(* (* t (fma x y (* z y))) (* y (- x z)))
2.0ms
(+ (* x y) (* z y))
3.0ms
(* t (fma x y (* z y)))
32.0ms
(/ (* (* t (fma x y (* z y))) (* y (- x z))) (+ (* x y) (* z y)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (* t (fma x y (* z y))) (* y (- x z)))
26.0ms
(+ (* x y) (* z y))
49.0ms
(* t (fma x y (* z y)))
134.0ms
(/ (* (* t (fma x y (* z y))) (* y (- x z))) (+ (* x y) (* z y)))

simplify133.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
08321823
147341334
250011334

prune286.0ms

Pruning

10 alts after pruning (6 fresh and 4 done)

Merged error: 0b

regimes289.0ms

Accuracy

76.6% (1.7b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02925
12925

end0.0ms

sample832.0ms

Algorithm
intervals
Results
560.0ms10706×body80valid