Details

Time bar (total: 23.5s)

analyze17.4s

Algorithm
search
Search
TrueOtherFalseIter
0%0.2%99.8%0
0%0.2%99.8%1
0%0.2%99.8%2
0%0.2%99.8%3
0%0.2%99.8%4
0%0.2%99.8%5
0%0.2%99.8%6
0%0.2%99.8%7
0%0.2%99.8%8
0%0.2%99.8%9
0%0.2%99.8%10
0%0.2%99.8%11
0%0.2%99.8%12
0%0.2%99.8%13
0%0.2%99.8%14

sample122.0ms

Algorithm
intervals
Results
53.0ms126×body1280valid
29.0ms256×pre80true
17.0ms66×body640valid
3.0ms19×body320valid
2.0ms34×body80valid
1.0ms11×body160valid

simplify409.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
01859
11859

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.9b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
4.2b
(tan (+ y z))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- associate-+r+ flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 40
Calls
3 calls:
7.0ms
(- (tan (+ y z)) (tan a))
15.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(tan (+ y z))

series111.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (tan (+ y z)) (tan a))
44.0ms
(+ x (- (tan (+ y z)) (tan a)))
27.0ms
(tan (+ y z))

simplify69.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04916561
14916561

prune107.0ms

Filtered
39 candidates to 49 candidates (-25.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New40949
Fresh000
Picked101
Done000
Total41950

Merged error: 0.1b

Counts
50 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ (tan y) (tan z))
0.2b
(* (tan y) (tan z))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1
distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
flip3-- flip3-+ frac-add associate-/r/ flip-- flip-+ difference-of-squares
cbrt-undiv +-commutative frac-times sub-neg frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num sum-log *-commutative frac-sub cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 85
Calls
4 calls:
8.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
4.0ms
(+ (tan y) (tan z))
5.0ms
(* (tan y) (tan z))

series238.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
130.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(+ (tan y) (tan z))
24.0ms
(* (tan y) (tan z))

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
052341556

prune185.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New92597
Fresh268
Picked101
Done000
Total9511106

Merged error: 0.0b

Counts
106 → 11

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin y) (cos z))
0.1b
(* (sin z) (cos y))
0.2b
(* (tan y) (tan z))
0.2b
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (* (cos y) (cos z)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
10×pow1
associate-*r* associate-*l*
tan-quot prod-exp sin-cos-mult cbrt-unprod add-log-exp
times-frac pow-prod-down *-commutative associate-/l/ associate-/l* unswap-sqr
cbrt-undiv div-exp
frac-times frac-2neg flip3-+ associate-*r/ associate-*l/ frac-add clear-num associate-/r* associate-/r/ cos-mult flip-+ div-inv
Counts
4 → 84
Calls
4 calls:
4.0ms
(* (sin y) (cos z))
7.0ms
(* (sin z) (cos y))
5.0ms
(* (tan y) (tan z))
10.0ms
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (* (cos y) (cos z)))

series77.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (sin y) (cos z))
9.0ms
(* (sin z) (cos y))
23.0ms
(* (tan y) (tan z))
36.0ms
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (* (cos y) (cos z)))

simplify44.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050121019

prune148.0ms

Filtered
70 candidates to 96 candidates (-37.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh1910
Picked011
Done000
Total9611107

Merged error: 0.0b

Counts
107 → 11

localize30.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin z) (cos y))
0.2b
(* (tan y) (tan z))
0.2b
(* (/ 1 (cos y)) (/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (cos z)))
0.2b
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (cos z))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
34×times-frac
32×add-exp-log *-un-lft-identity
30×add-cube-cbrt
22×add-cbrt-cube
19×associate-*r* associate-*l*
10×pow1 prod-exp
div-exp
unswap-sqr
cbrt-unprod
cbrt-undiv
tan-quot add-log-exp
pow-prod-down associate-/r* *-commutative sin-cos-mult div-inv associate-/l/ associate-/l*
frac-times rec-exp 1-exp associate-*r/ associate-*l/
frac-2neg flip3-+ frac-add clear-num flip-+
Counts
4 → 126
Calls
4 calls:
5.0ms
(* (sin z) (cos y))
5.0ms
(* (tan y) (tan z))
14.0ms
(* (/ 1 (cos y)) (/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (cos z)))
10.0ms
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (cos z))

series98.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (sin z) (cos y))
26.0ms
(* (tan y) (tan z))
34.0ms
(* (/ 1 (cos y)) (/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (cos z)))
29.0ms
(/ (+ (* (sin y) (cos z)) (* (sin z) (cos y))) (cos z))

simplify70.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049622087
149622087

prune144.0ms

Filtered
99 candidates to 138 candidates (-39.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1371138
Fresh279
Picked011
Done011
Total13910149

Merged error: 0.0b

Counts
149 → 10

regimes832.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06332
16332

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s3863×body1280valid
532.0ms8000×pre80true
495.0ms1999×body640valid
117.0ms685×body320valid
62.0ms1152×body80valid
37.0ms301×body160valid

Profiling

Loading profile data...