Details

Time bar (total: 4.1s)

analyze276.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14

sample78.0ms

Algorithm
intervals
Results
38.0ms76×body1280valid
16.0ms59×body640valid
10.0ms28×body2560valid
3.0ms19×body320valid
3.0ms64×body80valid
1.0ms10×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
199

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 53.4b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ x (sqrt (+ (* x x) 1.0)))
1.7b
(log (+ x (sqrt (+ (* x x) 1.0))))
15.4b
(sqrt (+ (* x x) 1.0))

rewrite20.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:
6.0ms
(+ x (sqrt (+ (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(sqrt (+ (* x x) 1.0))

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ x (sqrt (+ (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
4.0ms
(sqrt (+ (* x x) 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05075600

prune121.0ms

Filtered
42 candidates to 51 candidates (-21.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New46551
Fresh000
Picked101
Done000
Total47552

Merged error: 0.0b

Counts
52 → 5

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
50×associate-*l*
48×add-sqr-sqrt
40×times-frac
29×add-cube-cbrt *-un-lft-identity
25×unpow-prod-down cube-prod
20×sqrt-prod
add-exp-log
unswap-sqr
prod-exp
associate-*r* add-cbrt-cube
pow-exp div-inv sqr-pow
pow1 cube-div cube-mult pow-to-exp unpow3 div-exp associate-*l/ *-commutative cbrt-unprod add-log-exp
Counts
1 → 75
Calls
1 calls:
14.0ms
(* (pow (/ x (sqrt 1.0)) 3) -1/6)

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.0ms
(* (pow (/ x (sqrt 1.0)) 3) -1/6)

simplify41.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
04973758
14973758

prune136.0ms

Filtered
40 candidates to 78 candidates (-95.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh044
Picked011
Done000
Total78583

Merged error: 0.0b

Counts
83 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 0.125 (pow x 3))
0.3b
(/ 0.0625 (pow x 5))
11.9b
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
20.4b
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
71×times-frac
68×*-un-lft-identity
46×add-cube-cbrt
26×unpow-prod-down
19×associate-/r*
15×add-exp-log
14×cube-prod
11×log-prod
10×difference-of-squares sqr-pow
add-log-exp
add-cbrt-cube
div-exp frac-sub associate-/l* distribute-lft-out--
pow1 log-div
cube-mult unpow3 distribute-lft-out
cbrt-undiv pow-to-exp flip3-- frac-2neg flip3-+ diff-log frac-add pow-exp clear-num flip-- flip-+ div-inv
sub-neg rem-log-exp sum-log log-pow associate--r+
Counts
4 → 159
Calls
4 calls:
5.0ms
(/ 0.125 (pow x 3))
4.0ms
(/ 0.0625 (pow x 5))
34.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
40.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))

series27.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 0.125 (pow x 3))
4.0ms
(/ 0.0625 (pow x 5))
13.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
5.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))

simplify59.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
053612493

prune316.0ms

Filtered
110 candidates to 171 candidates (-55.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh033
Picked011
Done011
Total1715176

Merged error: 0.0b

Counts
176 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow x 4) (* 0.5 0.5))
0.4b
(/ 0.125 (pow x 4))
0.7b
(/ 0.25 (* x x))
9.4b
(+ (/ 0.125 (pow x 4)) (- (log (/ -1 x)) (+ (/ 0.25 (* x x)) (/ 0.0078125 (* (pow x 4) (* 0.5 0.5))))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
33×add-sqr-sqrt times-frac
31×add-cube-cbrt
27×add-exp-log
16×unpow-prod-down add-cbrt-cube
14×associate-+r+
13×log-prod associate--l+
11×add-log-exp
10×prod-exp
associate-/r*
associate-*l* distribute-lft-out
pow1 associate-/l* sqr-pow
div-exp
sum-log cbrt-unprod distribute-lft-out--
cbrt-undiv pow-to-exp pow-exp div-inv unswap-sqr
frac-2neg diff-log frac-add clear-num log-pow
+-commutative associate-+r- sub-neg flip3-- flip3-+ associate-*r* *-commutative flip-- flip-+
Counts
4 → 128
Calls
4 calls:
7.0ms
(* (pow x 4) (* 0.5 0.5))
4.0ms
(/ 0.125 (pow x 4))
6.0ms
(/ 0.25 (* x x))
29.0ms
(+ (/ 0.125 (pow x 4)) (- (log (/ -1 x)) (+ (/ 0.25 (* x x)) (/ 0.0078125 (* (pow x 4) (* 0.5 0.5))))))

series18.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow x 4) (* 0.5 0.5))
4.0ms
(/ 0.125 (pow x 4))
3.0ms
(/ 0.25 (* x x))
8.0ms
(+ (/ 0.125 (pow x 4)) (- (log (/ -1 x)) (+ (/ 0.25 (* x x)) (/ 0.0078125 (* (pow x 4) (* 0.5 0.5))))))

simplify32.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
050121804

prune303.0ms

Filtered
92 candidates to 140 candidates (-52.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1400140
Fresh022
Picked011
Done022
Total1405145

Merged error: 0.0b

Counts
145 → 5

regimes49.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 31.9b

bsearch31.0ms

Steps
ItersRangePoint
10
7.063849918137196e-08
1234859807.5445511
0.8842132773950566
8
-114.9517686598657
-0.020051319480660194
-1.0264810884786884

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09455
19455

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.1s2400×body1280valid
452.0ms1577×body640valid
271.0ms792×body2560valid
131.0ms760×body320valid
94.0ms2056×body80valid
43.0ms415×body160valid

Profiling

Loading profile data...