Details

Time bar (total: 25.0s)

sample229.0ms

Algorithm
intervals
Results
76.0ms1418×body80nan
32.0ms486×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03310
17310
21978
35588
422878
550018

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize15.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.8b
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

rewrite278.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:
23.0ms
(* (- t 1.0) (log a))
9.0ms
(* y (log z))
170.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
72.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

series339.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (- t 1.0) (log a))
36.0ms
(* y (log z))
149.0ms
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
104.0ms
(exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))

simplify64.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05801143
12309897
25002860

prune388.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)

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

series750.0ms

Counts
4 → 12
Calls
4 calls:
315.0ms
(* x (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))
72.0ms
(fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))
67.0ms
(fma (log (/ 1 a)) t b)
295.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

prune721.0ms

Pruning

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

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

series715.0ms

Counts
4 → 12
Calls
4 calls:
243.0ms
(/ y (/ (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))
74.0ms
(fma (log (/ 1 a)) t b)
320.0ms
(/ x (/ y (/ (pow (/ 1 a) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b))))))

simplify355.0ms

Algorithm
egg-herbie
Counts
1256 → 1256
Iterations

Useful iterations: 1 (78.0ms)

IterNodesCost
0492830290
1500130288

prune7.0s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (log (/ 1 a)) t b)
0.2b
(sqrt (/ 1 a))
0.2b
(sqrt (/ 1 a))
0.3b
(* (pow (sqrt (/ 1 a)) 1.0) (/ x (/ y (/ (pow (sqrt (/ 1 a)) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))

rewrite601.0ms

Algorithm
rewrite-expression-head
Rules
2758×times-frac
1295×add-sqr-sqrt
1070×*-un-lft-identity
1053×add-cube-cbrt
776×associate-*r*
652×unpow-prod-down
552×sqrt-prod
181×fma-udef
180×exp-sum
58×add-exp-log
54×unswap-sqr
52×div-inv sqr-pow
36×div-exp
20×associate-*l*
18×prod-exp add-cbrt-cube
pow-to-exp pow-exp
pow1
cbrt-undiv rem-sqrt-square sqrt-pow1
expm1-log1p-u associate-/r/ cbrt-unprod log1p-expm1-u add-log-exp
pow-flip pow1/2 sqrt-div inv-pow
associate-*r/ *-commutative
Counts
4 → 953
Calls
4 calls:
0.0ms
(fma (log (/ 1 a)) t b)
4.0ms
(sqrt (/ 1 a))
4.0ms
(sqrt (/ 1 a))
464.0ms
(* (pow (sqrt (/ 1 a)) 1.0) (/ x (/ y (/ (pow (sqrt (/ 1 a)) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))

series545.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(fma (log (/ 1 a)) t b)
21.0ms
(sqrt (/ 1 a))
21.0ms
(sqrt (/ 1 a))
431.0ms
(* (pow (sqrt (/ 1 a)) 1.0) (/ x (/ y (/ (pow (sqrt (/ 1 a)) 1.0) (exp (fma y (log (/ 1 z)) (fma (log (/ 1 a)) t b)))))))

simplify203.0ms

Algorithm
egg-herbie
Counts
965 → 965
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
0500120061

prune5.8s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes211.0ms

Accuracy

0% (0.9b remaining)

Error of 1.0b against oracle of 0.0b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02417
12417

end0.0ms

sample6.3s

Algorithm
intervals
Results
2.1s45448×body80nan
896.0ms15205×body80valid