Details

Time bar (total: 11.9s)

sample116.0ms

Algorithm
intervals
Results
82.0ms590×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.2b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* y z) (* t a))
4.2b
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))
4.8b
(* b (- (* c z) (* t i)))
7.4b
(* x (- (* y z) (* t a)))

rewrite24.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:
3.0ms
(- (* y z) (* t a))
0.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))
10.0ms
(* b (- (* c z) (* t i)))
10.0ms
(* x (- (* y z) (* t a)))

series726.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* y z) (* t a))
553.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))
64.0ms
(* b (- (* c z) (* t i)))
68.0ms
(* x (- (* y z) (* t a)))

simplify48.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0376645
11500568
25001568

prune433.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 6.2b

localize24.0ms

Local error

Found 4 expressions with local error:

4.2b
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* t i))) (* b (fma (- i) t (* i t))))))
4.8b
(* b (- (* c z) (* t i)))
7.4b
(* x (- (* y z) (* t a)))
49.8b
(fma (- i) t (* i t))

rewrite21.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 a) (* y i)) j (- (* x (- (* y z) (* t a))) (+ (* b (- (* c z) (* t i))) (* b (fma (- i) t (* i t))))))
10.0ms
(* b (- (* c z) (* t i)))
9.0ms
(* x (- (* y z) (* t a)))
0.0ms
(fma (- i) t (* i t))

series3.6s

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

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363664
11472577
25001577

prune457.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 6.2b

localize27.0ms

Local error

Found 4 expressions with local error:

4.8b
(* b (- (* c z) (* t i)))
6.6b
(* x (- (* t a)))
6.6b
(* x (* y z))
49.8b
(fma (- i) t (* i t))

rewrite22.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:
9.0ms
(* b (- (* c z) (* t i)))
4.0ms
(* x (- (* t a)))
6.0ms
(* x (* y z))
0.0ms
(fma (- i) t (* i t))

series148.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* b (- (* c z) (* t i)))
28.0ms
(* x (- (* t a)))
24.0ms
(* x (* y z))
29.0ms
(fma (- i) t (* i t))

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0345416
11619363
25001363

prune546.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 4.4b

localize31.0ms

Local error

Found 4 expressions with local error:

4.8b
(* b (- (* c z) (* t i)))
5.3b
(* a (* x t))
6.6b
(* x (* y z))
49.8b
(fma (- i) t (* i t))

rewrite23.0ms

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

series139.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0342384
11363326
25001326

prune426.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.0b

regimes957.0ms

Accuracy

44.1% (4.7b remaining)

Error of 9.2b against oracle of 4.5b and baseline of 13.0b

bsearch306.0ms

Steps
ItersRangePoint
7
9.594586178208336e-23
1.6538157666807698e-21
1.1169727630375101e-22
9
-1285523271281.5593
-13210367.903403047
-1082719539.6338298

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08442
110142
210742
310742

end0.0ms

sample3.5s

Algorithm
intervals
Results
2.6s18912×body80valid