Details

Time bar (total: 20.1s)

sample220.0ms

Algorithm
intervals
Results
100.0ms1421×body80nan
47.0ms483×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- t 1.0) (log a))
0.3b
(* y (log z))
0.8b
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
0.8b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
13×add-cbrt-cube
12×add-exp-log log-prod exp-sum
10×pow1 add-log-exp
prod-diff
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in
exp-prod
expm1-log1p-u log1p-expm1-u
times-frac prod-exp associate-/r* cbrt-unprod rem-exp-log
cbrt-undiv exp-diff diff-log div-exp pow-prod-down associate-*l/ log-pow *-commutative distribute-lft-out-- difference-of-squares unswap-sqr
sub-neg flip3-- frac-2neg associate-*r/ associate--l+ clear-num sum-log flip-- div-inv associate-/l/ associate-/l*
Counts
4 → 112
Calls
4 calls:
11.0ms
(* (- t 1.0) (log a))
4.0ms
(* y (log z))
83.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
37.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

series404.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (- t 1.0) (log a))
41.0ms
(* y (log z))
195.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
114.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

simplify77.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05801143
12309897
25002860

prune463.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
0.1b
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.1b
(fma (log (/ 1 a)) t b)
0.8b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
74×add-sqr-sqrt
72×associate-*r*
58×*-un-lft-identity
57×add-cube-cbrt
55×unpow-prod-down
41×add-exp-log
24×div-exp
19×fma-udef
18×add-cbrt-cube
17×exp-sum
14×prod-exp
pow-exp
pow1 div-inv unswap-sqr
cbrt-undiv sqr-pow
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* associate-/r*
pow-to-exp rec-exp 1-exp associate-*r/
frac-2neg pow-prod-down clear-num *-commutative associate-/l/ associate-/l*
Counts
4 → 153
Calls
4 calls:
41.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
14.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series855.0ms

Counts
4 → 12
Calls
4 calls:
347.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
78.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
80.0ms
(fma (log (/ 1 a)) t b)
349.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify91.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09042177
141411915
250011905

prune743.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (log (/ 1 a)) t b)
0.1b
(fma (log (/ 1 a)) t b)
0.1b
(fma (log (/ 1 a)) t b)
0.8b
(/ (* (* x (* (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

rewrite289.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log
13×add-cbrt-cube
12×cbrt-div
associate-*r/
associate-/l/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
frac-times associate-*l/
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
times-frac associate-/r* fma-udef
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 64
Calls
4 calls:
0.0ms
(fma (log (/ 1 a)) t b)
0.0ms
(fma (log (/ 1 a)) t b)
0.0ms
(fma (log (/ 1 a)) t b)
286.0ms
(/ (* (* x (* (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

series584.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(fma (log (/ 1 a)) t b)
77.0ms
(fma (log (/ 1 a)) t b)
72.0ms
(fma (log (/ 1 a)) t b)
357.0ms
(/ (* (* x (* (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))) (cbrt (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))) y)

simplify52.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03901566
116521122
25001957

prune446.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
0.1b
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.1b
(fma (log (/ 1 a)) t b)
1.2b
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

rewrite325.0ms

Algorithm
rewrite-expression-head
Rules
3407×times-frac
1391×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
832×unpow-prod-down
293×associate-/r*
274×fma-udef
272×exp-sum
86×div-inv
64×sqr-pow
41×add-exp-log
38×div-exp
18×add-cbrt-cube
cbrt-undiv
pow-exp
associate-/r/ associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp rec-exp frac-2neg 1-exp clear-num
Counts
4 → 1244
Calls
4 calls:
39.0ms
(/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
0.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
0.0ms
(fma (log (/ 1 a)) t b)
96.0ms
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

series787.0ms

Counts
4 → 12
Calls
4 calls:
270.0ms
(/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
95.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
84.0ms
(fma (log (/ 1 a)) t b)
338.0ms
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

simplify347.0ms

Algorithm
egg-herbie
Counts
1256 → 1256
Iterations

Useful iterations: 1 (79.0ms)

IterNodesCost
0492830290
1500130288

prune7.1s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes224.0ms

Accuracy

0% (1.1b remaining)

Error of 1.2b against oracle of 0.1b and baseline of 1.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02212
12212

end0.0ms

sample6.8s

Algorithm
intervals
Results
3.1s45685×body80nan
1.5s15115×body80valid