Details

Time bar (total: 24.4s)

sample180.0ms

Algorithm
intervals
Results
75.0ms1532×body80nan
28.0ms484×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite130.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))
78.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
35.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

series375.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (- t 1.0) (log a))
37.0ms
(* y (log z))
168.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
110.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

simplify62.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05801143
12309897
25002860

prune425.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize19.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.7b
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

rewrite61.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:
39.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)
13.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

series828.0ms

Counts
4 → 12
Calls
4 calls:
332.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
82.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
73.0ms
(fma (log (/ 1 a)) t b)
341.0ms
(/ (* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))) y)

simplify93.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
09042177
141411915
250011905

prune895.0ms

Pruning

4 alts after pruning (4 fresh and 0 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.0b
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

rewrite250.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:
25.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)
58.0ms
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

series740.0ms

Counts
4 → 12
Calls
4 calls:
256.0ms
(/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
90.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
68.0ms
(fma (log (/ 1 a)) t b)
326.0ms
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

simplify356.0ms

Algorithm
egg-herbie
Counts
1256 → 1256
Iterations

Useful iterations: 1 (80.0ms)

IterNodesCost
0492830290
1500130288

prune6.7s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize20.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 (/ 1 (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))

rewrite422.0ms

Algorithm
rewrite-expression-head
Rules
2919×times-frac
1228×add-sqr-sqrt
1178×*-un-lft-identity
1169×add-cube-cbrt
682×unpow-prod-down
668×associate-*r*
223×fma-udef
221×exp-sum
97×add-exp-log
76×div-exp
72×associate-/r*
70×div-inv
54×sqr-pow
25×prod-exp
23×add-cbrt-cube
16×pow-exp
15×unswap-sqr
12×rec-exp 1-exp
cbrt-undiv
pow1
associate-/r/
expm1-log1p-u pow-to-exp cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* associate-/l*
frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative
Counts
4 → 1061
Calls
4 calls:
22.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)
266.0ms
(* x (/ 1 (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))

series761.0ms

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

simplify204.0ms

Algorithm
egg-herbie
Counts
1073 → 1073
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500119429

prune6.2s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes201.0ms

Accuracy

29.1% (0.9b remaining)

Error of 1.0b against oracle of 0.1b and baseline of 1.4b

bsearch78.0ms

Steps
ItersRangePoint
5
4.393615350058038e-185
9.03468600186547e-185
4.537311804489539e-185

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03227
13227

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.2s44801×body80nan
914.0ms15051×body80valid