Details

Time bar (total: 7.5s)

analyze757.0ms

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
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
25%74.9%0.1%8
25%74.9%0.1%9
25%64%11.1%10
31.2%54.6%14.2%11
39%44.1%16.9%12
39%41.5%19.5%13
42.9%37%20.1%14

sample94.0ms

Algorithm
intervals
Results
19.0ms45×body1280valid
14.0ms32×body1280invalid
13.0ms138×body80valid
13.0ms45×body640valid
9.0ms29×body640invalid
4.0ms17×body320invalid
3.0ms15×body320valid
2.0ms13×body160valid
2.0ms20×body80invalid
1.0msbody160invalid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
010513
110513

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

Counts
2 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* a1 a1) (* a2 a2))
0.2b
(* (cos th) (/ (+ (* a1 a1) (* a2 a2)) (sqrt 2.0)))
0.4b
(/ (+ (* a1 a1) (* a2 a2)) (sqrt 2.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
38×times-frac
32×add-cube-cbrt *-un-lft-identity
22×associate-*r* sqrt-prod
10×add-exp-log add-cbrt-cube
associate-/r*
pow1 add-log-exp
associate-*l* associate-/l* unswap-sqr
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ div-inv associate-/l/
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 94
Calls
3 calls:
4.0ms
(+ (* a1 a1) (* a2 a2))
10.0ms
(* (cos th) (/ (+ (* a1 a1) (* a2 a2)) (sqrt 2.0)))
6.0ms
(/ (+ (* a1 a1) (* a2 a2)) (sqrt 2.0))

series55.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* a1 a1) (* a2 a2))
39.0ms
(* (cos th) (/ (+ (* a1 a1) (* a2 a2)) (sqrt 2.0)))
11.0ms
(/ (+ (* a1 a1) (* a2 a2)) (sqrt 2.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049651529
149651529

prune186.0ms

Filtered
69 candidates to 103 candidates (-49.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh011
Picked101
Done000
Total9510105

Merged error: 0b

Counts
105 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a1 a1) (* a2 a2))
0.2b
(/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
0.2b
(* (cos th) (/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0))))
0.3b
(/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
195×times-frac
111×add-sqr-sqrt
94×cbrt-prod
91×add-cube-cbrt *-un-lft-identity
67×associate-*r*
47×sqrt-prod
32×add-exp-log
22×div-inv
20×add-cbrt-cube
12×cbrt-undiv div-exp
10×associate-/r* associate-/l*
prod-exp cbrt-unprod unswap-sqr
pow1 add-log-exp
associate-*l* associate-/l/
frac-2neg flip3-+ clear-num flip-+
+-commutative associate-*r/ pow-prod-down sum-log *-commutative
Counts
4 → 225
Calls
4 calls:
4.0ms
(+ (* a1 a1) (* a2 a2))
9.0ms
(/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
25.0ms
(* (cos th) (/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0))))
13.0ms
(/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0)))

series93.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* a1 a1) (* a2 a2))
36.0ms
(/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
41.0ms
(* (cos th) (/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0))))
11.0ms
(/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
237 → 237
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
052314587

prune502.0ms

Filtered
169 candidates to 237 candidates (-40.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2352237
Fresh639
Picked011
Done000
Total2416247

Merged error: 0b

Counts
247 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a1 a1) (* a2 a2))
0.2b
(* (cos th) (/ (* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2))) (cbrt (sqrt 2.0))))
0.3b
(/ (* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2))) (cbrt (sqrt 2.0)))
0.4b
(* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
34×cbrt-prod
29×times-frac
25×*-un-lft-identity
24×add-cube-cbrt
20×add-exp-log
19×associate-*l*
16×associate-*r*
13×add-cbrt-cube
associate-/r* sqrt-prod
pow1
cbrt-div prod-exp cbrt-unprod add-log-exp
flip3-+ associate-*r/ flip-+ associate-/l/ unswap-sqr
cbrt-undiv frac-times div-exp
div-inv
pow-prod-down associate-*l/ *-commutative
+-commutative distribute-rgt-in frac-2neg distribute-lft-in clear-num sum-log associate-/l*
Counts
4 → 123
Calls
4 calls:
4.0ms
(+ (* a1 a1) (* a2 a2))
14.0ms
(* (cos th) (/ (* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2))) (cbrt (sqrt 2.0))))
13.0ms
(/ (* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2))) (cbrt (sqrt 2.0)))
9.0ms
(* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2)))

series117.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* a1 a1) (* a2 a2))
71.0ms
(* (cos th) (/ (* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2))) (cbrt (sqrt 2.0))))
31.0ms
(/ (* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2))) (cbrt (sqrt 2.0)))
10.0ms
(* (cbrt (/ 1 2.0)) (+ (* a1 a1) (* a2 a2)))

simplify48.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049672138
149672138

prune267.0ms

Filtered
105 candidates to 135 candidates (-28.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh044
Picked011
Done011
Total1356141

Merged error: 0b

Counts
141 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
0.2b
(/ (cos th) (* (cbrt (cbrt (sqrt 2.0))) (cbrt (cbrt (sqrt 2.0)))))
0.2b
(/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (cbrt (sqrt 2.0))))
0.2b
(* (/ (cos th) (* (cbrt (cbrt (sqrt 2.0))) (cbrt (cbrt (sqrt 2.0))))) (/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (cbrt (sqrt 2.0)))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
285×times-frac
245×cbrt-prod
173×add-sqr-sqrt
121×add-cube-cbrt *-un-lft-identity
88×associate-*r*
77×add-exp-log
49×sqrt-prod
45×add-cbrt-cube
32×cbrt-undiv div-exp
30×div-inv
22×prod-exp cbrt-unprod
18×unswap-sqr
14×associate-/r*
13×associate-/l*
associate-*l*
pow1
add-log-exp
frac-2neg clear-num associate-/l/
frac-times flip3-+ associate-*r/ pow-prod-down associate-*l/ *-commutative flip-+
Counts
4 → 313
Calls
4 calls:
9.0ms
(/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
9.0ms
(/ (cos th) (* (cbrt (cbrt (sqrt 2.0))) (cbrt (cbrt (sqrt 2.0)))))
14.0ms
(/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (cbrt (sqrt 2.0))))
43.0ms
(* (/ (cos th) (* (cbrt (cbrt (sqrt 2.0))) (cbrt (cbrt (sqrt 2.0))))) (/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (cbrt (sqrt 2.0)))))

series155.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
32.0ms
(/ (cos th) (* (cbrt (cbrt (sqrt 2.0))) (cbrt (cbrt (sqrt 2.0)))))
45.0ms
(/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (cbrt (sqrt 2.0))))
41.0ms
(* (/ (cos th) (* (cbrt (cbrt (sqrt 2.0))) (cbrt (cbrt (sqrt 2.0))))) (/ (/ (+ (* a1 a1) (* a2 a2)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (cbrt (sqrt 2.0)))))

simplify90.0ms

Algorithm
egg-herbie
Counts
325 → 325
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050489991

prune1.6s

Filtered
249 candidates to 325 candidates (-30.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3250325
Fresh033
Picked011
Done022
Total3256331

Merged error: 0b

Counts
331 → 6

regimes359.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02019
12019

end0.0ms

sample2.7s

Algorithm
intervals
Results
593.0ms1379×body1280valid
518.0ms1216×body1280invalid
348.0ms4663×body80valid
346.0ms1137×body640valid
288.0ms941×body640invalid
115.0ms535×body320valid
112.0ms484×body320invalid
42.0ms286×body160valid
41.0ms277×body160invalid
40.0ms471×body80invalid

Profiling

Loading profile data...