Details

Time bar (total: 23.4s)

analyze17.2s (73.6%)

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

sample124.0ms (0.5%)

Algorithm
intervals
Results
54.0ms130×body1280valid
19.0ms256×pre80true
14.0ms57×body640valid
5.0ms30×body320valid
1.0ms28×body80valid
1.0ms11×body160valid

simplify428.0ms (1.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
01859
11859

prune10.0ms (0%)

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 (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.2b
(+ x (- (tan (+ y z)) (tan a)))
4.1b
(tan (+ y z))

rewrite20.0ms (0.1%)

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))
6.0ms
(tan (+ y z))
5.0ms
(+ x (- (tan (+ y z)) (tan a)))

series110.0ms (0.5%)

Counts
3 → 9
Calls

3 calls:

53.0ms
(+ x (- (tan (+ y z)) (tan a)))
32.0ms
(- (tan (+ y z)) (tan a))
25.0ms
(tan (+ y z))

simplify68.0ms (0.3%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04916561
14916561

prune101.0ms (0.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New42749
Fresh000
Picked101
Done000
Total43750

Merged error: 0.1b

Counts
50 → 7

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite39.0ms (0.2%)

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 flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- 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 → 65
Calls

4 calls:

14.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
13.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))
4.0ms
(+ (tan y) (tan z))

series281.0ms (1.2%)

Counts
4 → 12
Calls

4 calls:

124.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
115.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
21.0ms
(* (tan y) (tan z))
20.0ms
(+ (tan y) (tan z))

simplify30.0ms (0.1%)

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
049511271
149511271

prune159.0ms (0.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New70777
Fresh426
Picked101
Done000
Total75984

Merged error: 0.1b

Counts
84 → 9

localize21.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (log (pow (exp (tan y)) (tan z))))) (tan a))
0.2b
(pow (exp (tan y)) (tan z))
0.4b
(exp (tan y))
4.8b
(log (pow (exp (tan y)) (tan z)))

rewrite29.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
log-prod add-log-exp
unpow-prod-down exp-prod
pow1 add-exp-log
pow-pow add-cbrt-cube
pow-unpow rem-log-exp
pow-to-exp pow-exp difference-of-squares sqr-pow
tan-quot sub-neg flip3-- times-frac diff-log log-pow frac-sub flip-- rem-exp-log distribute-lft-out--
Counts
4 → 64
Calls

4 calls:

18.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (pow (exp (tan y)) (tan z))))) (tan a))
4.0ms
(pow (exp (tan y)) (tan z))
3.0ms
(log (pow (exp (tan y)) (tan z)))
2.0ms
(exp (tan y))

series219.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

138.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (log (pow (exp (tan y)) (tan z))))) (tan a))
40.0ms
(log (pow (exp (tan y)) (tan z)))
31.0ms
(pow (exp (tan y)) (tan z))
10.0ms
(exp (tan y))

simplify54.0ms (0.2%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04913915
14913915

prune149.0ms (0.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New75176
Fresh178
Picked101
Done000
Total77885

Merged error: 0.1b

Counts
85 → 8

localize29.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(* (sin z) (/ (sin y) (* (cos y) (cos z))))
0.2b
(* (sin z) (/ (sin y) (* (cos y) (cos z))))
0.3b
(/ (sin y) (* (cos y) (cos z)))
0.3b
(/ (sin y) (* (cos y) (cos z)))

rewrite33.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
18×add-sqr-sqrt
16×associate-*r*
14×add-cube-cbrt *-un-lft-identity
12×times-frac
10×prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp
associate-*l* associate-/l*
associate-/r/ cos-mult div-inv add-log-exp
frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* *-commutative unswap-sqr
Counts
4 → 100
Calls

4 calls:

9.0ms
(* (sin z) (/ (sin y) (* (cos y) (cos z))))
9.0ms
(* (sin z) (/ (sin y) (* (cos y) (cos z))))
6.0ms
(/ (sin y) (* (cos y) (cos z)))
6.0ms
(/ (sin y) (* (cos y) (cos z)))

series74.0ms (0.3%)

Counts
4 → 12
Calls

4 calls:

21.0ms
(* (sin z) (/ (sin y) (* (cos y) (cos z))))
21.0ms
(* (sin z) (/ (sin y) (* (cos y) (cos z))))
17.0ms
(/ (sin y) (* (cos y) (cos z)))
15.0ms
(/ (sin y) (* (cos y) (cos z)))

simplify56.0ms (0.2%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050871234

prune160.0ms (0.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1111112
Fresh077
Picked101
Done000
Total1128120

Merged error: 0.1b

Counts
120 → 8

regimes781.0ms (3.3%)

Accuracy

Total 0.1b remaining (61.9%)

Threshold costs 0.1b (61.9%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010847
110847

end0.0ms (0%)

sample3.2s (13.6%)

Algorithm
intervals
Results
1.6s3868×body1280valid
548.0ms8000×pre80true
480.0ms2008×body640valid
109.0ms676×body320valid
60.0ms1165×body80valid
32.0ms283×body160valid

Profiling

Loading profile data...