Details

Time bar (total: 3.6s)

sample30.0ms

Algorithm
intervals
Results
9.0ms59×body640valid
5.0ms133×body80valid
4.0ms34×body320valid
4.0ms19×body1280valid
1.0ms11×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08115
18115

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 9.9b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg associate-+l+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 114
Calls
4 calls:
6.0ms
(/ 1.0 (- x 1.0))
18.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
6.0ms
(/ 1.0 (+ x 1.0))
36.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series20.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (- x 1.0))
4.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
3.0ms
(/ 1.0 (+ x 1.0))
11.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049381608
149381608

prune214.0ms

Filtered
95 candidates to 126 candidates (-32.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh000
Picked101
Done000
Total1234127

Merged error: 0.5b

Counts
127 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)))
0.3b
(- (/ 1.0 (+ 1.0 x)) (+ (/ 2.0 x) (/ 1.0 (- x 1.0))))
2.1b
(- (* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0))))
12.7b
(/ (- (* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))) (- (/ 1.0 (+ 1.0 x)) (+ (/ 2.0 x) (/ 1.0 (- x 1.0)))))

rewrite220.0ms

Algorithm
rewrite-expression-head
Rules
291×*-un-lft-identity
162×times-frac
152×frac-sub
105×add-sqr-sqrt
93×frac-times
66×distribute-lft-out--
60×flip3-- flip--
51×associate-*r/ associate-*l/
48×distribute-lft-out
47×associate-/l/
41×difference-of-squares
25×add-cube-cbrt
14×swap-sqr
11×pow1 associate-/r* add-log-exp
10×associate-*r* associate-*l*
add-exp-log add-cbrt-cube
sub-neg
associate-/r/
distribute-rgt-in distribute-lft-in associate--l+ associate-/l*
diff-log
flip3-+ frac-add flip-+
cbrt-undiv pow2 frac-2neg pow-plus div-sub div-exp pow-prod-down prod-exp clear-num sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv associate--r+ unswap-sqr
Counts
4 → 280
Calls
4 calls:
41.0ms
(* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)))
34.0ms
(- (/ 1.0 (+ 1.0 x)) (+ (/ 2.0 x) (/ 1.0 (- x 1.0))))
44.0ms
(- (* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0))))
79.0ms
(/ (- (* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))) (- (/ 1.0 (+ 1.0 x)) (+ (/ 2.0 x) (/ 1.0 (- x 1.0)))))

series57.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)))
7.0ms
(- (/ 1.0 (+ 1.0 x)) (+ (/ 2.0 x) (/ 1.0 (- x 1.0))))
13.0ms
(- (* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0))))
33.0ms
(/ (- (* (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x)) (- (/ 1.0 (+ 1.0 x)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))) (- (/ 1.0 (+ 1.0 x)) (+ (/ 2.0 x) (/ 1.0 (- x 1.0)))))

simplify97.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
0497812753
1497812753

prune1.3s

Filtered
184 candidates to 292 candidates (-58.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2911292
Fresh033
Picked011
Done000
Total2915296

Merged error: 0.5b

Counts
296 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.2b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
1.6b
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x))) (/ 1.0 (- x 1.0)))
14.8b
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1
associate-*r/ associate-*r*
flip3-+ times-frac associate-*l* flip-+ associate-/l*
cbrt-undiv flip3-- div-sub div-exp prod-exp associate-/r/ flip-- cbrt-unprod associate-/l/ distribute-lft-out
+-commutative distribute-rgt-in associate-+l- sub-neg frac-2neg distribute-lft-in diff-log pow-prod-down frac-add clear-num associate-/r* sum-log *-commutative div-inv unswap-sqr
Counts
4 → 75
Calls
4 calls:
7.0ms
(* x (+ 1.0 x))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
21.0ms
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x))) (/ 1.0 (- x 1.0)))
10.0ms
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x)))

series28.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* x (+ 1.0 x))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
13.0ms
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x))) (/ 1.0 (- x 1.0)))
5.0ms
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x)))

simplify36.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049861103
149861103

prune128.0ms

Filtered
64 candidates to 87 candidates (-35.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New86187
Fresh123
Picked011
Done011
Total87592

Merged error: 0.5b

Counts
92 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.2b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
1.6b
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (+ (* 1.0 x) (* x x))) (/ 1.0 (- x 1.0)))
14.8b
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (+ (* 1.0 x) (* x x)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
31×add-sqr-sqrt times-frac
23×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
distribute-lft-out--
pow1 distribute-rgt-out associate-/r/ difference-of-squares
flip3-- flip-- distribute-lft-out
cbrt-undiv frac-2neg flip3-+ div-sub div-exp clear-num flip-+ div-inv associate-/l/
+-commutative associate-+l- sub-neg diff-log frac-add sum-log
Counts
4 → 101
Calls
4 calls:
6.0ms
(/ 1.0 (- x 1.0))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
27.0ms
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (+ (* 1.0 x) (* x x))) (/ 1.0 (- x 1.0)))
9.0ms
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (+ (* 1.0 x) (* x x)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (- x 1.0))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
21.0ms
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (+ (* 1.0 x) (* x x))) (/ 1.0 (- x 1.0)))
5.0ms
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (+ (* 1.0 x) (* x x)))

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
052491687

prune189.0ms

Filtered
90 candidates to 113 candidates (-25.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh022
Picked011
Done022
Total1135118

Merged error: 0.5b

Counts
118 → 5

regimes49.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 26.0b

bsearch30.0ms

Steps
ItersRangePoint
9
0.009971872296741319
901.3230478674768
124.37166462846123
9
-174458.2165831976
-0.46594774775336223
-111.66855799925936

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04049
14049

end0.0ms

sample853.0ms

Algorithm
intervals
Results
280.0ms1823×body640valid
171.0ms4225×body80valid
107.0ms546×body1280valid
106.0ms908×body320valid
38.0ms500×body160valid

Profiling

Loading profile data...