Details

Time bar (total: 39.5s)

analyze17.0s

Algorithm
search

sample120.0ms

Algorithm
intervals
Results
52.0ms129×body1280valid
30.0ms256×pre80true
14.0ms55×body640valid
4.0ms21×body320valid
2.0ms42×body80valid
1.0msbody160valid

simplify373.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.5b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.5b
(tan (+ y z))

rewrite19.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 associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
6.0ms
(tan (+ y z))

series117.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune103.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New42951
Fresh000
Picked101
Done000
Total43952

Merged error: 0.1b

Counts
52 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

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

series290.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan y) (tan z))
121.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
126.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
22.0ms
(* (tan y) (tan z))

simplify83.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune154.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New70979
Fresh628
Picked101
Done000
Total771188

Merged error: 0.1b

Counts
88 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
0.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(* (tan y) (sin z))

rewrite48.0ms

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

series287.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a))
129.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (tan y) (sin z)) (cos z)))) (tan a)))
22.0ms
(/ (* (tan y) (sin z)) (cos z))
15.0ms
(* (tan y) (sin z))

simplify42.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03911035
11334960
25002951

prune133.0ms

Filtered
62 candidates to 86 candidates (-38.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh01010
Picked011
Done000
Total861197

Merged error: 0.1b

Counts
97 → 11

localize31.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(+ x (- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(* (tan y) (tan z))
0.2b
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

rewrite52.0ms

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

series306.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
129.0ms
(+ x (- (/ (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a)))
21.0ms
(* (tan y) (tan z))
34.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04881545
116551422
250021407

prune97.0ms

Filtered
68 candidates to 90 candidates (-32.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New87390
Fresh279
Picked101
Done011
Total9011101

Merged error: 0.1b

Counts
101 → 11

regimes620.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 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

analyze16.0s

Algorithm
search

sample3.4s

Algorithm
intervals
Results
1.9s3903×body1280valid
522.0ms8000×pre80true
449.0ms1935×body640valid
119.0ms736×body320valid
68.0ms1135×body80valid
32.0ms291×body160valid

Profiling

Loading profile data...