Details

Time bar (total: 10.9s)

sample86.0ms

Algorithm
intervals
Results
39.0ms642×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* c t) (* i y))
4.0b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
5.2b
(* b (- (* c z) (* i a)))
6.4b
(* x (- (* y z) (* t a)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
distribute-rgt-in distribute-lft-in associate-*r* associate-*l* add-log-exp
sub-neg prod-diff
expm1-log1p-u associate-*r/ log1p-expm1-u
flip3-- flip--
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
fma-neg diff-log fma-udef
Counts
4 → 82
Calls
4 calls:
8.0ms
(- (* c t) (* i y))
0.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
25.0ms
(* b (- (* c z) (* i a)))
28.0ms
(* x (- (* y z) (* t a)))

series769.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* c t) (* i y))
579.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))))
72.0ms
(* b (- (* c z) (* i a)))
72.0ms
(* x (- (* y z) (* t a)))

simplify50.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0423646
11659568
25001568

prune435.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 5.4b

localize25.0ms

Local error

Found 4 expressions with local error:

4.0b
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
5.2b
(* b (- (* c z) (* i a)))
6.4b
(* x (- (* y z) (* t a)))
51.2b
(fma (- a) i (* a i))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
distribute-rgt-in distribute-lft-in associate-*r* associate-*l*
expm1-log1p-u sub-neg associate-*r/ prod-diff log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef unswap-sqr
Counts
4 → 76
Calls
4 calls:
0.0ms
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
25.0ms
(* b (- (* c z) (* i a)))
28.0ms
(* x (- (* y z) (* t a)))
0.0ms
(fma (- a) i (* a i))

series3.7s

Counts
4 → 12
Calls
4 calls:
3.5s
(fma (- (* c t) (* i y)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* i a))) (* b (fma (- a) i (* a i))))))
71.0ms
(* b (- (* c z) (* i a)))
71.0ms
(* x (- (* y z) (* t a)))
27.0ms
(fma (- a) i (* a i))

simplify47.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0360664
11457577
25002577

prune462.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 5.4b

localize27.0ms

Local error

Found 4 expressions with local error:

5.0b
(* x (- (* t a)))
5.0b
(* x (* y z))
5.2b
(* b (- (* c z) (* i a)))
51.2b
(fma (- a) i (* a i))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
10×associate-*r*
add-cube-cbrt *-un-lft-identity associate-*l*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in *-commutative
sub-neg associate-*r/ prod-diff unswap-sqr
distribute-lft-neg-in neg-mul-1 flip3-- distribute-rgt-neg-in distribute-rgt-neg-out flip-- fma-udef
Counts
4 → 82
Calls
4 calls:
11.0ms
(* x (- (* t a)))
15.0ms
(* x (* y z))
29.0ms
(* b (- (* c z) (* i a)))
0.0ms
(fma (- a) i (* a i))

series161.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* x (- (* t a)))
30.0ms
(* x (* y z))
70.0ms
(* b (- (* c z) (* i a)))
32.0ms
(fma (- a) i (* a i))

simplify56.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0346416
11622363
25001360

prune534.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 4.0b

localize27.0ms

Local error

Found 4 expressions with local error:

4.4b
(* (* x y) z)
5.0b
(* x (- (* t a)))
5.2b
(* b (- (* c z) (* i a)))
51.2b
(fma (- a) i (* a i))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
12×associate-*r*
add-cube-cbrt *-un-lft-identity
associate-*l*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in *-commutative
sub-neg associate-*r/ prod-diff unswap-sqr
distribute-lft-neg-in neg-mul-1 flip3-- distribute-rgt-neg-in distribute-rgt-neg-out flip-- fma-udef
Counts
4 → 82
Calls
4 calls:
16.0ms
(* (* x y) z)
11.0ms
(* x (- (* t a)))
29.0ms
(* b (- (* c z) (* i a)))
0.0ms
(fma (- a) i (* a i))

series161.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* x y) z)
34.0ms
(* x (- (* t a)))
71.0ms
(* b (- (* c z) (* i a)))
31.0ms
(fma (- a) i (* a i))

simplify60.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0356417
11781364
25001361

prune462.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 3.5b

regimes993.0ms

Accuracy

4.2% (9.1b remaining)

Error of 12.3b against oracle of 3.3b and baseline of 12.7b

bsearch200.0ms

Steps
ItersRangePoint
6
2.2830925651785564e+121
1.784232747368508e+122
1.6224269897276793e+122
8
-2.9868593335480247e-268
-1.961985116338623e-271
-2.3295746151951428e-268

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08353
110053
211653
311653

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.1s19220×body80valid