Details

Time bar (total: 12.3s)

sample78.0ms

Algorithm
intervals
Results
41.0ms607×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 11.0b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* c z) (* t i))
3.0b
(* x (- (* y z) (* t a)))
4.7b
(* b (- (* c z) (* t i)))
5.6b
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

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

series817.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* c z) (* t i))
78.0ms
(* x (- (* y z) (* t a)))
82.0ms
(* b (- (* c z) (* t i)))
615.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0376645
11494568
25001568

prune476.0ms

Filtered
94 candidates to 73 candidates (77.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New801494
Fresh000
Picked101
Done000
Total811495

Merged error: 5.0b

Counts
95 → 14

localize28.0ms

Local error

Found 4 expressions with local error:

3.0b
(* x (- (* y z) (* t a)))
4.2b
(* b (- (* t i)))
4.3b
(* b (* c z))
5.6b
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (+ (* b (* c z)) (* b (- (* t i))))))

rewrite19.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:
6.0ms
(* x (- (* y z) (* t a)))
5.0ms
(* b (- (* t i)))
5.0ms
(* b (* c z))
1.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (+ (* b (* c z)) (* b (- (* t i))))))

series787.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* x (- (* y z) (* t a)))
33.0ms
(* b (- (* t i)))
32.0ms
(* b (* c z))
631.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (+ (* b (* c z)) (* b (- (* t i))))))

simplify71.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0385576
11763498
25001495

prune745.0ms

Filtered
94 candidates to 70 candidates (74.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New86894
Fresh7613
Picked101
Done000
Total9414108

Merged error: 4.6b

Counts
108 → 14

localize27.0ms

Local error

Found 4 expressions with local error:

3.0b
(* x (fma y z (- (* a t))))
4.7b
(* b (- (* c z) (* t i)))
5.6b
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* t i)))))
49.6b
(fma (- a) t (* a t))

rewrite14.0ms

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

series3.9s

Counts
4 → 12
Calls
4 calls:
93.0ms
(* x (fma y z (- (* a t))))
89.0ms
(* b (- (* c z) (* t i)))
3.7s
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* t i)))))
32.0ms
(fma (- a) t (* a t))

simplify51.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0310624
11230538
25001538

prune453.0ms

Filtered
82 candidates to 58 candidates (70.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh4913
Picked101
Done000
Total831396

Merged error: 4.6b

Counts
96 → 13

localize29.0ms

Local error

Found 4 expressions with local error:

4.9b
(cbrt (- (* y z) (* t a)))
4.9b
(cbrt (- (* y z) (* t a)))
4.9b
(cbrt (- (* y z) (* t a)))
5.6b
(fma (- (* c a) (* y i)) j (- (* (* x (* (cbrt (- (* y z) (* t a))) (cbrt (- (* y z) (* t a))))) (cbrt (- (* y z) (* t a)))) (+ (* b (* c z)) (* b (- (* t i))))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip--
fma-udef
Counts
4 → 55
Calls
4 calls:
3.0ms
(cbrt (- (* y z) (* t a)))
3.0ms
(cbrt (- (* y z) (* t a)))
3.0ms
(cbrt (- (* y z) (* t a)))
1.0ms
(fma (- (* c a) (* y i)) j (- (* (* x (* (cbrt (- (* y z) (* t a))) (cbrt (- (* y z) (* t a))))) (cbrt (- (* y z) (* t a)))) (+ (* b (* c z)) (* b (- (* t i))))))

series900.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(cbrt (- (* y z) (* t a)))
114.0ms
(cbrt (- (* y z) (* t a)))
124.0ms
(cbrt (- (* y z) (* t a)))
546.0ms
(fma (- (* c a) (* y i)) j (- (* (* x (* (cbrt (- (* y z) (* t a))) (cbrt (- (* y z) (* t a))))) (cbrt (- (* y z) (* t a)))) (+ (* b (* c z)) (* b (- (* t i))))))

simplify67.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0275804
1753723
22271687
35003682

prune410.0ms

Filtered
67 candidates to 61 candidates (91.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New66167
Fresh11112
Picked101
Done000
Total681280

Merged error: 4.6b

Counts
80 → 12

regimes713.0ms

Accuracy

18.1% (6.0b remaining)

Error of 11.1b against oracle of 5.0b and baseline of 12.4b

bsearch244.0ms

Steps
ItersRangePoint
8
7.090339855903539e-72
1.9766524495519856e-68
1.934996812542809e-68
9
-3.0272802816456385e+95
-1.6211672607733614e+87
-1.883004647282782e+89

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06535
17835
28235
38235

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.3s19242×body80valid