Details

Time bar (total: 5.2s)

sample19.0ms

Algorithm
intervals
Results
6.0ms57×body1280valid
3.0ms139×body80valid
3.0ms39×body640valid
1.0ms14×body320valid
0.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.6b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
31.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series200.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ x (+ x 1.0))
40.0ms
(/ (+ x 1.0) (- x 1.0))
127.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0392760
11379726
25001716

prune195.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(log (exp (/ (+ x 1.0) (- x 1.0))))
2.8b
(- (/ x (+ x 1.0)) (log (exp (/ (+ x 1.0) (- x 1.0)))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
87×*-un-lft-identity
59×add-sqr-sqrt
53×times-frac
36×add-cube-cbrt
28×log-pow
26×exp-prod
15×distribute-lft-out
11×distribute-lft-out-- difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 log-prod associate-/r/
add-log-exp
flip3-- flip-- div-inv associate--r+
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ associate-/l/
sub-neg diff-log rem-log-exp
Counts
4 → 135
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
9.0ms
(log (exp (/ (+ x 1.0) (- x 1.0))))
37.0ms
(- (/ x (+ x 1.0)) (log (exp (/ (+ x 1.0) (- x 1.0)))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ x (+ x 1.0))
42.0ms
(/ (+ x 1.0) (- x 1.0))
37.0ms
(log (exp (/ (+ x 1.0) (- x 1.0))))
131.0ms
(- (/ x (+ x 1.0)) (log (exp (/ (+ x 1.0) (- x 1.0)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0442940
11437871
25001856

prune277.0ms

Filtered
147 candidates to 102 candidates (69.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0))))
0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
2.8b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
544×*-un-lft-identity
320×times-frac
170×add-sqr-sqrt
141×distribute-lft-out
106×add-cube-cbrt
72×swap-sqr
52×distribute-lft-out--
44×associate-*r* associate-*l*
34×difference-of-squares
30×add-exp-log add-cbrt-cube
19×associate-/r/
18×pow1 frac-sub
14×frac-times associate-*r/ associate-*l/
12×associate-/r*
11×associate-/l/
cbrt-undiv div-exp div-inv
prod-exp cbrt-unprod unswap-sqr
flip3-- flip-- add-log-exp
flip3-+ flip-+
associate-/l*
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
sub-neg frac-2neg diff-log div-sub frac-add clear-num
Counts
4 → 329
Calls
4 calls:
26.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
47.0ms
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0))))
16.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
11.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series667.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
355.0ms
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0))))
47.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
206.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify73.0ms

Algorithm
egg-herbie
Counts
341 → 341
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012994984
150014721

prune487.0ms

Filtered
341 candidates to 171 candidates (50.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.1b
(exp (log (/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0))))))
1.7b
(log (/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))))
2.8b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
485×*-un-lft-identity
288×times-frac
154×distribute-lft-out
110×log-prod
87×add-sqr-sqrt
75×add-cube-cbrt
55×exp-sum
32×distribute-lft-out--
25×difference-of-squares
24×swap-sqr
19×add-exp-log
18×associate-*r* associate-*l*
16×add-cbrt-cube
14×associate-/r/
13×pow1
frac-sub
frac-times associate-*r/ associate-*l/
flip3-+ flip-+ div-inv add-log-exp
div-exp
cbrt-undiv exp-prod prod-exp cbrt-unprod unswap-sqr
log-div rem-log-exp frac-add log-pow
pow2 sub-neg flip3-- pow-plus exp-diff diff-log pow-prod-down pow-sqr *-commutative pow-prod-up flip-- rem-exp-log
Counts
4 → 244
Calls
4 calls:
16.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
46.0ms
(exp (log (/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0))))))
44.0ms
(log (/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))))
12.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series1.2s

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
553.0ms
(exp (log (/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0))))))
426.0ms
(log (/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))))
213.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify145.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
010415546
143975314
250015261

prune419.0ms

Filtered
256 candidates to 127 candidates (49.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

regimes32.0ms

Accuracy

100% (0.0b remaining)

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

bsearch102.0ms

Steps
ItersRangePoint
10
4.9177062248324165e-05
42925490.781275615
9614.242799871034
9
-234806929230.2476
-1816.595590764893
-9565.026950935508

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04424
14424

end0.0ms

sample534.0ms

Algorithm
intervals
Results
175.0ms1724×body1280valid
107.0ms1270×body640valid
94.0ms4056×body80valid
49.0ms605×body320valid
15.0ms345×body160valid