Details

Time bar (total: 17.3s)

sample136.0ms

Algorithm
intervals
Results
98.0ms589×body80valid

simplify102.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
04714
111013
233513
3105913
4344213
5500113

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* c a) (* y i))
4.6b
(* x (- (* y z) (* t a)))
4.9b
(* b (- (* c z) (* t i)))
6.7b
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

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

series816.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* c a) (* y i))
78.0ms
(* x (- (* y z) (* t a)))
68.0ms
(* b (- (* c z) (* t i)))
624.0ms
(fma (- (* c a) (* y i)) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
0426646
11670568
25002568

prune465.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.7b

localize28.0ms

Local error

Found 4 expressions with local error:

4.6b
(* x (fma y z (- (* a t))))
4.9b
(* b (- (* c z) (* t i)))
6.7b
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (* b (- (* c z) (* t i)))))
50.1b
(fma (- a) t (* a t))

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

series3.9s

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

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0310624
11230538
25001538

prune440.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.7b

localize28.0ms

Local error

Found 4 expressions with local error:

4.6b
(* x (fma y z (- (* a t))))
5.8b
(* b (- (* t i)))
6.7b
(fma (- (* c a) (* y i)) j (- (+ (* x (fma y z (- (* a t)))) (* x (fma (- a) t (* a t)))) (+ (* b (* c z)) (* b (- (* t i))))))
50.1b
(fma (- a) t (* a t))

rewrite11.0ms

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

series3.9s

Counts
4 → 12
Calls
4 calls:
85.0ms
(* x (fma y z (- (* a t))))
30.0ms
(* b (- (* 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)) (* b (- (* t i))))))
26.0ms
(fma (- a) t (* a t))

simplify58.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0272571
11235491
25001488

prune510.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.7b

localize26.0ms

Local error

Found 4 expressions with local error:

6.7b
(fma (* (* (cbrt (- (* c a) (* y i))) (cbrt (- (* c a) (* y i)))) (cbrt (- (* c a) (* y i)))) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))
9.6b
(cbrt (- (* c a) (* y i)))
9.6b
(cbrt (- (* c a) (* y i)))
9.6b
(cbrt (- (* c a) (* y i)))

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

series1.1s

Counts
4 → 12
Calls
4 calls:
641.0ms
(fma (* (* (cbrt (- (* c a) (* y i))) (cbrt (- (* c a) (* y i)))) (cbrt (- (* c a) (* y i)))) j (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* t i)))))
135.0ms
(cbrt (- (* c a) (* y i)))
134.0ms
(cbrt (- (* c a) (* y i)))
142.0ms
(cbrt (- (* c a) (* y i)))

simplify84.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0261791
1707715
22166678
35002674

prune435.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 4.7b

regimes868.0ms

Accuracy

6.8% (7.3b remaining)

Error of 12.2b against oracle of 4.9b and baseline of 12.7b

bsearch165.0ms

Steps
ItersRangePoint
7
-2.245924111061614e+135
-3.1392196555589437e+133
-8.625467280025031e+133

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06538
17338
27438
37438

end0.0ms

sample4.1s

Algorithm
intervals
Results
3.2s19242×body80valid