Details

Time bar (total: 27.6s)

analyze17.1s (62.1%)

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

sample129.0ms (0.5%)

Algorithm
intervals
Results
73.0ms129×body1280valid
18.0ms256×pre80true
15.0ms57×body640valid
4.0ms21×body320valid
2.0ms41×body80valid
1.0msbody160valid

simplify410.0ms (1.5%)

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: 11.9b

Counts
2 → 1

localize22.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
3.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)))

series103.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

41.0ms
(+ x (- (tan (+ y z)) (tan a)))
37.0ms
(- (tan (+ y z)) (tan a))
25.0ms
(tan (+ y z))

simplify75.0ms (0.3%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
04916561
14916561

prune107.0ms (0.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New41849
Fresh000
Picked101
Done000
Total42850

Merged error: 0.1b

Counts
50 → 8

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite37.0ms (0.1%)

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:

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

series289.0ms (1%)

Counts
4 → 12
Calls

4 calls:

128.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
118.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(* (tan y) (tan z))
21.0ms
(+ (tan y) (tan z))

simplify31.0ms (0.1%)

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
049511271
149511271

prune150.0ms (0.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh437
Picked101
Done000
Total78785

Merged error: 0.1b

Counts
85 → 7

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite69.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
56×add-sqr-sqrt
28×times-frac
22×add-cube-cbrt
21×distribute-lft-out-- difference-of-squares
13×pow1
12×tan-quot
11×flip3-- flip--
10×add-exp-log frac-times add-cbrt-cube
associate-*r* associate-*l*
swap-sqr frac-sub
associate-/r* add-log-exp
sub-neg
associate-*r/ associate-*l/ associate-/l*
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate-/l/ associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 139
Calls

4 calls:

27.0ms
(* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
22.0ms
(/ (- (* x x) (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))) (- x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))
9.0ms
(- (* x x) (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))
5.0ms
(* (tan y) (tan z))

series1.2s (4.5%)

Counts
4 → 12
Calls

4 calls:

618.0ms
(/ (- (* x x) (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))) (- x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))
434.0ms
(- (* x x) (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))
152.0ms
(* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
25.0ms
(* (tan y) (tan z))

simplify72.0ms (0.3%)

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
060545606

prune403.0ms (1.5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1429151
Fresh336
Picked101
Done000
Total14612158

Merged error: 0.0b

Counts
158 → 12

localize32.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite79.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
52×associate-*l/
47×add-sqr-sqrt *-un-lft-identity
33×frac-sub
29×tan-quot
28×flip3-- flip--
25×frac-times times-frac
20×add-cube-cbrt
16×distribute-lft-out--
15×difference-of-squares
10×add-exp-log add-cbrt-cube
associate-*r/ associate-*l*
pow1 flip3-+ frac-add flip-+
associate-*r* associate-/r* add-log-exp
associate-/l*
sub-neg
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in diff-log div-sub div-exp clear-num div-inv
Counts
4 → 142
Calls

4 calls:

29.0ms
(/ (- (* x x) (/ (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a)))) (- x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))
27.0ms
(* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))))
11.0ms
(- (* x x) (/ (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a))))
5.0ms
(* (tan y) (tan z))

series2.6s (9.5%)

Counts
4 → 12
Calls

4 calls:

1.3s
(/ (- (* x x) (/ (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a)))) (- x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))
1.0s
(- (* x x) (/ (* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))) (* (- 1 (* (tan y) (tan z))) (cos a))))
222.0ms
(* (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))))
22.0ms
(* (tan y) (tan z))

simplify65.0ms (0.2%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
0553812175

prune502.0ms (1.8%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1522154
Fresh11011
Picked101
Done000
Total15412166

Merged error: 0.0b

Counts
166 → 12

regimes702.0ms (2.5%)

Accuracy

Total 0.2b remaining (71.4%)

Threshold costs 0.2b (71.4%)

bsearch0.0ms (0%)

simplify8.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
0424108
1424108

end0.0ms (0%)

sample3.3s (11.8%)

Algorithm
intervals
Results
1.7s3918×body1280valid
544.0ms8000×pre80true
501.0ms2018×body640valid
115.0ms677×body320valid
55.0ms1092×body80valid
36.0ms295×body160valid

Profiling

Loading profile data...