Details

Time bar (total: 10.1s)

analyze2.1s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%74.9%0.1%6
31.2%68.7%0.1%7
34.3%65.6%0.1%8
37.5%59.3%3.2%9
42.9%53.5%3.6%10
44.5%50%5.6%11
47.8%45.8%6.4%12
48.7%43.7%7.6%13
50.5%41.3%8.2%14

sample139.0ms

Algorithm
intervals
Results
52.0ms220×body80valid
41.0ms181×body80invalid
11.0ms13×body640valid
8.0msbody1280valid
5.0msbody320valid
3.0msbody160valid

simplify447.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05636103

prune19.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2

localize45.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
0.2b
(* 6.0 (* x1 x1))
3.8b
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* 6.0 (* x1 x1)))
5.0b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×associate-*l*
15×*-un-lft-identity
14×add-exp-log add-cbrt-cube
13×add-cube-cbrt
11×pow1 times-frac
add-log-exp
prod-exp cbrt-unprod
associate-*r* pow-prod-down
flip3-+ flip-+ unswap-sqr
distribute-rgt-in frac-times sub-neg flip3-- distribute-lft-in diff-log associate-*r/ associate--l+ associate-/r/ *-commutative flip-- difference-of-squares
cbrt-undiv associate--l- associate-+r- div-sub div-exp associate-*l/ div-inv distribute-lft-out--
Counts
4 → 87
Calls
4 calls:
35.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
5.0ms
(* 6.0 (* x1 x1))
35.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* 6.0 (* x1 x1)))
19.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

series127.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
3.0ms
(* 6.0 (* x1 x1))
66.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* 6.0 (* x1 x1)))
23.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

simplify62.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049773593
149773593

prune582.0ms

Filtered
80 candidates to 99 candidates (-23.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New90999
Fresh011
Picked101
Done000
Total9110101

Merged error: 0.3b

Counts
101 → 10

localize41.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (* x1 (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1))))
0.2b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
3.8b
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 6.0) x1))
5.0b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
18×associate-*l*
15×*-un-lft-identity
14×add-exp-log add-cbrt-cube
13×add-cube-cbrt
11×pow1 times-frac
add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/
prod-exp cbrt-unprod
flip3-+ associate-*r* pow-prod-down flip-+
frac-times sub-neg flip3-- diff-log associate--l+ associate-/r/ *-commutative flip-- difference-of-squares unswap-sqr
cbrt-undiv associate--l- associate-+r- div-sub div-exp associate-*l/ div-inv distribute-lft-out--
Counts
4 → 92
Calls
4 calls:
12.0ms
(* x1 (* x1 (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1))))
36.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
39.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 6.0) x1))
17.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

series123.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* x1 (* x1 (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1))))
31.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
70.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 6.0) x1))
15.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

simplify68.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049543883
149543883

prune520.0ms

Filtered
80 candidates to 104 candidates (-30.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh099
Picked011
Done000
Total10410114

Merged error: 0.3b

Counts
114 → 10

localize45.0ms

Local error

Found 4 expressions with local error:

5.0b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
5.8b
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (sqrt (* x1 (* x1 6.0))) (sqrt (* x1 (* x1 6.0)))))
23.5b
(sqrt (* x1 (* x1 6.0)))
23.5b
(sqrt (* x1 (* x1 6.0)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1
add-sqr-sqrt
add-log-exp
*-un-lft-identity sqrt-pow1 pow-prod-down
add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg flip3-- pow1/2 diff-log associate--l+ sqrt-prod flip-- difference-of-squares
associate--l- distribute-rgt-in associate-+r- distribute-lft-in times-frac div-sub distribute-lft-out--
Counts
4 → 52
Calls
4 calls:
17.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
35.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (sqrt (* x1 (* x1 6.0))) (sqrt (* x1 (* x1 6.0)))))
4.0ms
(sqrt (* x1 (* x1 6.0)))
4.0ms
(sqrt (* x1 (* x1 6.0)))

series95.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
69.0ms
(- (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (sqrt (* x1 (* x1 6.0))) (sqrt (* x1 (* x1 6.0)))))
4.0ms
(sqrt (* x1 (* x1 6.0)))
8.0ms
(sqrt (* x1 (* x1 6.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050211496

prune327.0ms

Filtered
51 candidates to 64 candidates (-25.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New62264
Fresh178
Picked011
Done011
Total631174

Merged error: 0.3b

Counts
74 → 11

localize38.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (+ (* x1 x1) 1.0)))
0.2b
(* 6.0 (* x1 x1))
3.8b
(- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (+ (* x1 x1) 1.0))) (* 6.0 (* x1 x1)))
5.0b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
11×pow1
10×*-un-lft-identity associate-*r*
add-cube-cbrt add-log-exp
prod-exp cbrt-unprod
associate-*l*
times-frac pow-prod-down
flip3-+ flip-+
cbrt-undiv frac-times sub-neg flip3-- diff-log div-exp associate-*l/ associate-/r/ *-commutative flip-- difference-of-squares unswap-sqr
associate--l- associate-+r- div-sub associate-*r/ div-inv distribute-lft-out--
Counts
4 → 78
Calls
4 calls:
34.0ms
(* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (+ (* x1 x1) 1.0)))
6.0ms
(* 6.0 (* x1 x1))
32.0ms
(- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (+ (* x1 x1) 1.0))) (* 6.0 (* x1 x1)))
18.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

series118.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (+ (* x1 x1) 1.0)))
3.0ms
(* 6.0 (* x1 x1))
65.0ms
(- (* (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (/ (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (+ (* x1 x1) 1.0))) (* 6.0 (* x1 x1)))
17.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

simplify60.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049902989
149902989

prune381.0ms

Filtered
70 candidates to 90 candidates (-28.6%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh088
Picked011
Done022
Total9011101

Merged error: 0.3b

Counts
101 → 11

regimes459.0ms

Accuracy

0% (0.1b remaining)

Error of 0.5b against oracle of 0.4b and baseline of 0.5b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0243103
1243103

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.5s6954×body80valid
1.3s5812×body80invalid
343.0ms395×body640valid
215.0ms197×body1280valid
187.0ms286×body320valid
73.0ms168×body160valid

Profiling

Loading profile data...