Details

Time bar (total: 15.4s)

sample214.0ms

Algorithm
intervals
Results
124.0ms1679×body80nan
25.0ms258×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0279
1618
21618
33938
49848
522568
640958
750018

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

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.5b
(+ (log (+ x y)) (log z))

rewrite47.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:
36.0ms
(- (+ (log (+ x y)) (log z)) t)
0.0ms
(fma (log t) (- a 0.5) (- (+ (log (+ x y)) (log z)) t))
7.0ms
(+ (log (+ x y)) (log z))

series342.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0388866
11209661
25001650

prune297.0ms

Pruning

7 alts after pruning (7 fresh and 0 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)))
0.6b
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 log-pow
fma-udef
Counts
4 → 52
Calls
4 calls:
1.0ms
(cbrt (log (+ x y)))
1.0ms
(cbrt (log (+ x y)))
1.0ms
(cbrt (log (+ x y)))
0.0ms
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

series2.0s

Counts
4 → 12
Calls
4 calls:
492.0ms
(cbrt (log (+ x y)))
488.0ms
(cbrt (log (+ x y)))
488.0ms
(cbrt (log (+ x y)))
575.0ms
(fma (* (cbrt (log (+ x y))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

simplify57.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 4 (52.0ms)

IterNodesCost
097446
1173386
2488377
31652351
45002350

prune295.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
95×*-un-lft-identity
74×pow1
72×cbrt-prod
63×log-pow distribute-lft-out
30×swap-sqr
29×add-sqr-sqrt
21×add-cube-cbrt log-prod
12×associate-+l+ cbrt-div fma-def flip3-+ flip-+
10×associate-*r* associate-*l*
associate-+r+
add-exp-log associate-+l- log-div pow1/3
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
+-commutative sum-log
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 172
Calls
4 calls:
32.0ms
(* (cbrt (+ (log (+ x y)) (log z))) (cbrt (+ (log (+ x y)) (log z))))
6.0ms
(+ (log (+ x y)) (log z))
7.0ms
(+ (log (+ x y)) (log z))
6.0ms
(+ (log (+ x y)) (log z))

series1.2s

Counts
4 → 12
Calls
4 calls:
995.0ms
(* (cbrt (+ (log (+ x y)) (log z))) (cbrt (+ (log (+ x y)) (log z))))
71.0ms
(+ (log (+ x y)) (log z))
78.0ms
(+ (log (+ x y)) (log z))
78.0ms
(+ (log (+ x y)) (log z))

simplify91.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
02631693
17331599
230691321
350011311

prune718.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 log-pow
fma-udef
Counts
4 → 61
Calls
4 calls:
1.0ms
(cbrt (cbrt (log (+ x y))))
1.0ms
(cbrt (cbrt (log (+ x y))))
1.0ms
(cbrt (cbrt (log (+ x y))))
0.0ms
(fma (* (* (* (cbrt (cbrt (log (+ x y)))) (cbrt (cbrt (log (+ x y))))) (cbrt (cbrt (log (+ x y))))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

series2.1s

Counts
4 → 12
Calls
4 calls:
494.0ms
(cbrt (cbrt (log (+ x y))))
520.0ms
(cbrt (cbrt (log (+ x y))))
497.0ms
(cbrt (cbrt (log (+ x y))))
582.0ms
(fma (* (* (* (cbrt (cbrt (log (+ x y)))) (cbrt (cbrt (log (+ x y))))) (cbrt (cbrt (log (+ x y))))) (cbrt (log (+ x y)))) (cbrt (log (+ x y))) (log z))

simplify84.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 4 (77.0ms)

IterNodesCost
0111739
1207649
2624633
32309604
45002589

prune362.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.1b

regimes468.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01716
11716

end0.0ms

sample6.8s

Algorithm
intervals
Results
4.1s56073×body80nan
717.0ms8034×body80valid