Details

Time bar (total: 2.3s)

analyze6.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14

sample39.0ms

Algorithm
intervals
Results
7.0ms53×body640valid
5.0ms135×body80valid
4.0ms22×body1280valid
3.0ms32×body320valid
1.0ms14×body160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
088015
188015

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.4b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
32×times-frac
24×add-sqr-sqrt
13×distribute-lft-out
12×add-cube-cbrt
10×distribute-lft-out-- add-log-exp
add-exp-log add-cbrt-cube
associate-/r* difference-of-squares
pow1 frac-add associate-/l*
sub-neg flip3-- flip3-+ diff-log sum-log associate-/r/ frac-sub flip-- flip-+
cbrt-undiv +-commutative associate-+l- associate-+l+ frac-2neg div-exp clear-num div-inv
Counts
3 → 75
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
33.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series15.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(/ 1.0 (+ x 1.0))
3.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
048921215
148921215

prune131.0ms

Filtered
65 candidates to 84 candidates (-29.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New81384
Fresh000
Picked011
Done000
Total81485

Merged error: 0.5b

Counts
85 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.0b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
9.4b
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x))) (/ 1.0 (- x 1.0)))
13.8b
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x)))

rewrite41.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 → 74
Calls
4 calls:
6.0ms
(* x (+ 1.0 x))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
22.0ms
(+ (/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x))) (/ 1.0 (- x 1.0)))
9.0ms
(/ (- (* 1.0 x) (* (+ 1.0 x) 2.0)) (* x (+ 1.0 x)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x (+ 1.0 x))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
12.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)))

simplify54.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049471097
149471097

prune111.0ms

Filtered
64 candidates to 86 candidates (-34.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done011
Total86490

Merged error: 0.5b

Counts
90 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
0.1b
(* x (- (* x x) (* 1.0 1.0)))
0.5b
(/ (+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x)))) (* x (- (* x x) (* 1.0 1.0))))
29.8b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
76×associate-*r/
32×frac-add
27×flip3-- flip--
18×flip3-+ flip-+ associate-/l/
16×frac-times
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*l/ add-log-exp
pow1 distribute-rgt-in distribute-lft-in
sub-neg
associate-+r+ associate-*r*
times-frac associate-*l* associate-/l*
cbrt-undiv associate-+l+ div-exp prod-exp associate-/r/ cbrt-unprod
+-commutative frac-2neg diff-log pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv difference-of-squares unswap-sqr
Counts
4 → 108
Calls
4 calls:
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
19.0ms
(/ (+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x)))) (* x (- (* x x) (* 1.0 1.0))))
12.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

series16.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
054453703

prune318.0ms

Filtered
97 candidates to 120 candidates (-23.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1191120
Fresh011
Picked101
Done202
Total1222124

Merged error: 0.5b

Counts
124 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (- (* x x) (* 1.0 1.0)))
0.5b
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 associate-*r/ associate-*r*
times-frac associate-*l* associate-/l*
cbrt-undiv sub-neg flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative div-inv difference-of-squares unswap-sqr
Counts
2 → 46
Calls
2 calls:
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
6.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

series12.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(* x (- (* x x) (* 1.0 1.0)))
5.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

simplify49.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05673585

prune69.0ms

Filtered
39 candidates to 52 candidates (-33.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh101
Picked101
Done000
Total50454

Merged error: 0.0b

Counts
54 → 4

regimes31.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02611
12611

end0.0ms

sample1.1s

Algorithm
intervals
Results
251.0ms1870×body640valid
141.0ms4194×body80valid
96.0ms938×body320valid
92.0ms543×body1280valid
30.0ms455×body160valid

Profiling

Loading profile data...