Details

Time bar (total: 10.3s)

sample199.0ms

Algorithm
intervals
Results
87.0ms2039×body80nan
13.0ms257×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (log (+ x y)) (log z)) t)
0.2b
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
0.6b
(+ (log (+ x y)) (log z))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
28×pow1
25×log-pow distribute-lft-out
21×prod-diff
19×add-sqr-sqrt
17×add-cube-cbrt
log-prod fma-neg
add-log-exp
distribute-lft-out--
associate-+l- log-div associate-+l+ fma-def
add-exp-log expm1-log1p-u associate-+r+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate--l- diff-log sum-log
+-commutative sub-neg flip3-- associate--l+ flip-- fma-udef difference-of-squares
Counts
3 → 92
Calls
3 calls:
61.0ms
(- (+ (log (+ x y)) (log z)) t)
0.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
14.0ms
(+ (log (+ x y)) (log z))

series328.0ms

Counts
3 → 9
Calls
3 calls:
161.0ms
(- (+ (log (+ x y)) (log z)) t)
96.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
71.0ms
(+ (log (+ x y)) (log z))

simplify39.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0388866
11209661
25001650

prune277.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (log (+ x y)) (log z)) t)
0.1b
(* (log t) (- a 0.5))
0.1b
(+ (* (log t) (- a 0.5)) (- (+ (log (+ x y)) (log z)) t))
0.6b
(+ (log (+ x y)) (log z))

rewrite212.0ms

Algorithm
rewrite-expression-head
Rules
100×*-un-lft-identity
78×prod-diff
60×add-sqr-sqrt
54×add-cube-cbrt
44×pow1
38×log-pow
37×distribute-lft-out
27×associate-+r+
26×associate-+l+
22×distribute-rgt-in distribute-lft-in
14×add-log-exp
log-prod fma-neg
add-exp-log sub-neg flip3-- associate-*r/ sum-log add-cbrt-cube flip-- distribute-lft-out--
fma-def associate-*r*
expm1-log1p-u associate-+l- log-div flip3-+ diff-log associate-*l* frac-add flip-+ log1p-expm1-u
+-commutative associate--l- associate--l+ difference-of-squares
associate-+r- pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 196
Calls
4 calls:
62.0ms
(- (+ (log (+ x y)) (log z)) t)
23.0ms
(* (log t) (- a 0.5))
107.0ms
(+ (* (log t) (- a 0.5)) (- (+ (log (+ x y)) (log z)) t))
12.0ms
(+ (log (+ x y)) (log z))

series585.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(- (+ (log (+ x y)) (log z)) t)
236.0ms
(* (log t) (- a 0.5))
109.0ms
(+ (* (log t) (- a 0.5)) (- (+ (log (+ x y)) (log z)) t))
74.0ms
(+ (log (+ x y)) (log z))

simplify88.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
08152135
132611641
250011638

prune558.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log z) t)
0.1b
(+ (fma (log t) (- a 0.5) (log (+ x y))) (- (log z) t))
0.4b
(fma (log t) (- a 0.5) (log (+ x y)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
24×prod-diff
23×add-sqr-sqrt
21×add-cube-cbrt
17×associate-+r+
12×pow1
log-pow
add-log-exp
log-prod associate--l+
fma-neg distribute-lft-out--
add-exp-log expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u distribute-lft-out
sub-neg diff-log sum-log fma-udef
+-commutative associate-+r- associate-+l+ flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 85
Calls
3 calls:
9.0ms
(- (log z) t)
20.0ms
(+ (fma (log t) (- a 0.5) (log (+ x y))) (- (log z) t))
0.0ms
(fma (log t) (- a 0.5) (log (+ x y)))

series277.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(- (log z) t)
96.0ms
(+ (fma (log t) (- a 0.5) (log (+ x y))) (- (log z) t))
120.0ms
(fma (log t) (- a 0.5) (log (+ x y)))

simplify41.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0390802
11224642
25002612

prune305.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt a)
0.6b
(cbrt a)
0.6b
(cbrt a)
0.6b
(+ (log (+ x y)) (log z))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
10×add-sqr-sqrt add-cube-cbrt
pow1 cbrt-prod
log-prod
log-pow distribute-lft-out
add-exp-log expm1-log1p-u associate-+l+ fma-def add-cbrt-cube log1p-expm1-u add-log-exp
associate-+r+ pow1/3
associate-+l- log-div flip3-+ flip-+
+-commutative sum-log
Counts
4 → 69
Calls
4 calls:
1.0ms
(cbrt a)
1.0ms
(cbrt a)
1.0ms
(cbrt a)
12.0ms
(+ (log (+ x y)) (log z))

series602.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt a)
173.0ms
(cbrt a)
171.0ms
(cbrt a)
72.0ms
(+ (log (+ x y)) (log z))

simplify82.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (27.0ms)

IterNodesCost
0195301
1405276
21046266
33377265
45001265

prune402.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes576.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168
1168

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.4s55923×body80nan
426.0ms8039×body80valid