Details

Time bar (total: 10.6s)

sample89.0ms

Algorithm
intervals
Results
39.0ms71×body1280valid
19.0ms56×body640valid
8.0ms20×body2560valid
7.0ms64×body80valid
5.0ms23×body320valid
3.0ms22×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
095
195

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 53.6b

localize7.0ms

Local error

Found 3 expressions with local error:

0.7b
(+ x (sqrt (+ (* x x) 1.0)))
4.7b
(log (+ x (sqrt (+ (* x x) 1.0))))
12.8b
(sqrt (+ (* x x) 1.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
pow1 add-cube-cbrt add-log-exp
add-exp-log log-prod
flip3-+ sqrt-prod add-cbrt-cube flip-+
log-div sqrt-div distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow
Counts
3 → 42
Calls
3 calls:
8.0ms
(+ x (sqrt (+ (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(sqrt (+ (* x x) 1.0))

series277.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(+ x (sqrt (+ (* x x) 1.0)))
171.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
46.0ms
(sqrt (+ (* x x) 1.0))

simplify139.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0309393
11027364
24764348
35002347

prune146.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
0.1b
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
240×times-frac
220×associate-*r*
182×add-sqr-sqrt
140×unpow-prod-down cube-prod
118×add-cube-cbrt *-un-lft-identity
80×sqrt-prod
40×sqr-pow
30×cube-mult unpow3
25×add-exp-log unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow-to-exp pow-exp add-log-exp
pow1
associate-*r/ associate-*l*
diff-log frac-sub cbrt-unprod
cbrt-undiv sub-neg flip3-- flip3-+ pow-prod-down associate--l+ sum-log *-commutative flip-- flip-+ div-inv
Counts
2 → 286
Calls
2 calls:
116.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
74.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

series298.0ms

Counts
2 → 6
Calls
2 calls:
155.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
143.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

simplify120.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08542089
146421654
250011654

prune434.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- 1/36) (pow (/ x (sqrt 1.0)) 6))
0.1b
(* (pow (/ x (sqrt 1.0)) 3) 1/6)
13.8b
(+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0)))))
36.0b
(/ (+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))) (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))

rewrite211.0ms

Algorithm
rewrite-expression-head
Rules
87×add-sqr-sqrt
69×times-frac
60×associate-*l*
57×add-cube-cbrt *-un-lft-identity
50×unpow-prod-down
30×sqrt-prod
29×associate-*r*
25×cube-prod
22×add-exp-log
13×unswap-sqr
10×add-cbrt-cube
prod-exp
add-log-exp
pow1 flip3-+ pow-exp associate-/r/ flip-+ div-inv sqr-pow
cube-div distribute-lft-neg-in distribute-rgt-neg-in div-exp associate-*l/ associate-/r* associate-/l*
pow-to-exp associate-+r+ frac-add *-commutative cbrt-unprod associate-/l/
cbrt-undiv +-commutative distribute-lft-neg-out distribute-rgt-in cube-mult neg-mul-1 frac-2neg distribute-lft-in unpow3 clear-num sum-log
Counts
4 → 176
Calls
4 calls:
26.0ms
(* (- 1/36) (pow (/ x (sqrt 1.0)) 6))
28.0ms
(* (pow (/ x (sqrt 1.0)) 3) 1/6)
13.0ms
(+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0)))))
134.0ms
(/ (+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))) (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))

series1.1s

Counts
4 → 12
Calls
4 calls:
178.0ms
(* (- 1/36) (pow (/ x (sqrt 1.0)) 6))
141.0ms
(* (pow (/ x (sqrt 1.0)) 3) 1/6)
305.0ms
(+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0)))))
511.0ms
(/ (+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))) (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))

simplify136.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08532672
143392417
250012417

prune556.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

18.8b
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
18.8b
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
18.8b
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
28.7b
(* (/ 1 (* (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6))) (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6))))) (/ (+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))) (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
56×cbrt-div
49×add-exp-log
43×add-sqr-sqrt
33×times-frac associate-*l/
31×associate-*l*
28×cube-div flip3-+ frac-add associate-/r/ flip-+
26×associate-*r*
25×*-un-lft-identity
22×add-cube-cbrt
21×cbrt-prod
20×prod-exp
18×add-cbrt-cube
17×frac-times
15×div-exp
unswap-sqr
cbrt-unprod
cbrt-undiv
pow1
associate-*r/
rec-exp 1-exp add-log-exp
pow1/3
div-inv
pow-prod-down *-commutative
Counts
4 → 143
Calls
4 calls:
47.0ms
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
47.0ms
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
45.0ms
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
1.0s
(* (/ 1 (* (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6))) (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6))))) (/ (+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))) (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))))

series2.0s

Counts
4 → 12
Calls
4 calls:
470.0ms
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
531.0ms
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
472.0ms
(cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))
524.0ms
(* (/ 1 (* (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6))) (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6))))) (/ (+ (* (- 1/36) (pow (/ x (sqrt 1.0)) 6)) (* (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))) (cbrt (+ (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* (pow (/ x (sqrt 1.0)) 3) 1/6)))))

simplify73.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09197786
150016961

prune822.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes45.0ms

Accuracy

99.3% (0.2b remaining)

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

bsearch102.0ms

Steps
ItersRangePoint
9
0.00035723662727133143
33.11368705657117
0.8876369628249866
10
-29.541817090935037
-6.322351620237733e-11
-1.0202654642914022

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04127
14127

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.2s2347×body1280valid
537.0ms1579×body640valid
309.0ms781×body2560valid
176.0ms793×body320valid
140.0ms2075×body80valid
60.0ms425×body160valid