Details

Time bar (total: 12.4s)

sample195.0ms

Algorithm
intervals
Results
81.0ms1901×body80nan
15.0ms257×body80valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite89.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:
71.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))

series360.0ms

Counts
3 → 9
Calls
3 calls:
178.0ms
(- (+ (log (+ x y)) (log z)) t)
106.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
76.0ms
(+ (log (+ x y)) (log z))

simplify37.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0388866
11209661
25001650

prune491.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
pow1
log-prod
add-sqr-sqrt add-cube-cbrt
log-pow distribute-lft-out
associate-+l+ fma-def
add-exp-log expm1-log1p-u associate-+r+ add-cbrt-cube log1p-expm1-u add-log-exp
associate-+l- log-div flip3-+ flip-+ fma-udef
+-commutative sum-log
Counts
3 → 50
Calls
3 calls:
0.0ms
(fma 1 (+ (log (+ x y)) (log z)) (- t))
0.0ms
(fma (log t) (- a 0.5) (fma 1 (+ (log (+ x y)) (log z)) (- t)))
17.0ms
(+ (log (+ x y)) (log z))

series358.0ms

Counts
3 → 9
Calls
3 calls:
179.0ms
(fma 1 (+ (log (+ x y)) (log z)) (- t))
105.0ms
(fma (log t) (- a 0.5) (fma 1 (+ (log (+ x y)) (log z)) (- t)))
73.0ms
(+ (log (+ x y)) (log z))

simplify68.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0297443
1875391
23290378
35001374

prune263.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (log z) (log z))
0.5b
(- (log (+ x y)) (log z))
0.5b
(* (log (+ x y)) (log (+ x y)))
0.6b
(- (* (log (+ x y)) (log (+ x y))) (* (log z) (log z)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
43×pow1
37×add-sqr-sqrt
35×log-prod
31×add-cube-cbrt
25×log-pow
17×prod-diff
14×distribute-rgt-in distribute-lft-in
12×swap-sqr associate--l+
associate--r+
add-exp-log associate-*r* associate-*l* add-cbrt-cube
add-log-exp
fma-neg distribute-lft-out
expm1-log1p-u log1p-expm1-u distribute-lft-out--
associate--l- pow2 sub-neg log-div flip3-- pow-plus diff-log pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod difference-of-squares unswap-sqr
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
10.0ms
(* (log z) (log z))
15.0ms
(- (log (+ x y)) (log z))
20.0ms
(* (log (+ x y)) (log (+ x y)))
18.0ms
(- (* (log (+ x y)) (log (+ x y))) (* (log z) (log z)))

series563.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(* (log z) (log z))
74.0ms
(- (log (+ x y)) (log z))
169.0ms
(* (log (+ x y)) (log (+ x y)))
169.0ms
(- (* (log (+ x y)) (log (+ x y))) (* (log z) (log z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04461242
116601012
25002875

prune513.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (log (+ x y)))
0.5b
(cbrt (log (+ x y)))
0.5b
(* (cbrt (log (+ x y))) (cbrt (log (+ x y))))
0.7b
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
22×add-sqr-sqrt
19×pow1
16×*-un-lft-identity
14×add-cube-cbrt
swap-sqr
pow1/3 log-pow
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 85
Calls
4 calls:
1.0ms
(cbrt (log (+ x y)))
1.0ms
(cbrt (log (+ x y)))
14.0ms
(* (cbrt (log (+ x y))) (cbrt (log (+ x y))))
0.0ms
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

series2.7s

Counts
4 → 12
Calls
4 calls:
473.0ms
(cbrt (log (+ x y)))
465.0ms
(cbrt (log (+ x y)))
1.2s
(* (cbrt (log (+ x y))) (cbrt (log (+ x y))))
563.0ms
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

simplify73.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0175771
1501690
22335610
35002594

prune383.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.1b

regimes475.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0209
1209

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.4s55728×body80nan
424.0ms8042×body80valid