Details

Time bar (total: 5.4s)

sample22.0ms

Algorithm
intervals
Results
6.0ms52×body640valid
4.0ms145×body80valid
2.0ms30×body320valid
2.0ms15×body1280valid
1.0ms14×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.4b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.2b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
725×*-un-lft-identity
703×times-frac
524×add-sqr-sqrt
492×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
17×distribute-lft-out--
12×difference-of-squares
11×add-log-exp
10×fma-def
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num sum-log frac-sub
+-commutative associate-+l-
Counts
4 → 618
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
24.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
57.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series334.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1.0 (- x 1.0))
31.0ms
(/ 1.0 (+ x 1.0))
43.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
232.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify157.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.4s

Filtered
630 candidates to 390 candidates (61.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
0.0b
(/ 1 (pow x 7))
0.1b
(/ 1 (pow x 5))
0.4b
(/ 2.0 (pow x 3))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
61×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
27×add-exp-log
26×associate-/r*
15×div-exp
12×cube-prod sqr-pow
10×add-cbrt-cube
associate-/l*
pow-to-exp pow-exp
rec-exp 1-exp
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
pow-flip inv-pow
fma-udef
Counts
4 → 187
Calls
4 calls:
1.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 2.0 (pow x 3))

series275.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
60.0ms
(/ 1 (pow x 7))
43.0ms
(/ 1 (pow x 5))
43.0ms
(/ 2.0 (pow x 3))

simplify49.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0450904
12278777
25001777

prune440.0ms

Filtered
199 candidates to 96 candidates (48.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (pow x 7))
0.1b
(/ (/ 2.0 (* x x)) x)
0.1b
(/ 1 (pow x 5))
0.7b
(/ 2.0 (* x x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×add-exp-log
24×unpow-prod-down
22×add-cbrt-cube
19×div-exp
18×associate-/r*
16×associate-/l*
cbrt-undiv
div-inv sqr-pow
pow-to-exp rec-exp 1-exp pow-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip prod-exp cbrt-unprod inv-pow
associate-/l/
Counts
4 → 183
Calls
4 calls:
5.0ms
(/ 1 (pow x 7))
6.0ms
(/ (/ 2.0 (* x x)) x)
9.0ms
(/ 1 (pow x 5))
5.0ms
(/ 2.0 (* x x))

series165.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ 1 (pow x 7))
35.0ms
(/ (/ 2.0 (* x x)) x)
47.0ms
(/ 1 (pow x 5))
24.0ms
(/ 2.0 (* x x))

simplify53.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0511914
12528828
25001768

prune414.0ms

Filtered
195 candidates to 106 candidates (54.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 5))
0.1b
(* (/ (sqrt 2.0) x) (/ (sqrt 2.0) (* x x)))
0.5b
(/ (sqrt 2.0) x)
0.9b
(/ (sqrt 2.0) (* x x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
81×times-frac
79×add-sqr-sqrt
55×add-cube-cbrt *-un-lft-identity
41×add-exp-log
36×sqrt-prod
34×add-cbrt-cube
22×associate-*l*
16×div-exp
15×associate-/l*
12×unpow-prod-down
11×cbrt-undiv associate-/r*
10×associate-*r*
prod-exp cbrt-unprod unswap-sqr
pow1
div-inv
expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-to-exp rec-exp frac-2neg 1-exp pow-exp clear-num
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 192
Calls
4 calls:
5.0ms
(/ 1 (pow x 5))
14.0ms
(* (/ (sqrt 2.0) x) (/ (sqrt 2.0) (* x x)))
4.0ms
(/ (sqrt 2.0) x)
6.0ms
(/ (sqrt 2.0) (* x x))

series255.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ 1 (pow x 5))
92.0ms
(* (/ (sqrt 2.0) x) (/ (sqrt 2.0) (* x x)))
55.0ms
(/ (sqrt 2.0) x)
65.0ms
(/ (sqrt 2.0) (* x x))

simplify86.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05361192
128901043
25001962

prune636.0ms

Filtered
204 candidates to 117 candidates (57.4%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes58.0ms

Accuracy

98.9% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 9.9b

bsearch102.0ms

Steps
ItersRangePoint
10
4.9177062248324165e-05
42925490.781275615
129.8241176321693
8
-1816.595590764893
-1.0806682141483241
-108.88679580976668

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03724
13724

end0.0ms

sample638.0ms

Algorithm
intervals
Results
215.0ms1860×body640valid
130.0ms4139×body80valid
84.0ms974×body320valid
83.0ms565×body1280valid
26.0ms466×body160valid