Details

Time bar (total: 8.7s)

sample114.0ms

Algorithm
intervals
Results
57.0ms137×body1280valid
17.0ms256×pre80true
14.0ms62×body640valid
3.0ms16×body320valid
2.0ms38×body80valid
0.0msbody160valid

simplify18.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

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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:
7.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
4.0ms
(tan (+ y z))

series274.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(- (tan (+ y z)) (tan a))
114.0ms
(+ x (- (tan (+ y z)) (tan a)))
52.0ms
(tan (+ y z))

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune138.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New42951
Fresh000
Picked101
Done000
Total43952

Merged error: 0.1b

Counts
52 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*l/
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×tan-quot *-un-lft-identity
10×add-cube-cbrt
pow1 associate-/l/
associate-*r* associate-*l* frac-sub add-log-exp
flip3-- flip--
flip3-+ times-frac prod-exp cbrt-unprod flip-+ associate-/l*
cbrt-undiv frac-times div-sub associate-*r/ div-exp pow-prod-down frac-add associate-/r/ *-commutative unswap-sqr
+-commutative associate-+r- frac-2neg clear-num associate-/r* sum-log div-inv distribute-lft-out
Counts
4 → 87
Calls
4 calls:
9.0ms
(+ x (/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a))))
15.0ms
(/ (- (* (+ (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))
5.0ms
(* (tan y) (tan z))

series1.3s

Counts
4 → 12
Calls
4 calls:
670.0ms
(+ x (/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a))))
440.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
86.0ms
(* (tan y) (tan z))
87.0ms
(* (tan y) (tan z))

simplify72.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06071601
126921448
250021435

prune411.0ms

Filtered
99 candidates to 78 candidates (78.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New92799
Fresh448
Picked101
Done000
Total9711108

Merged error: 0.1b

Counts
108 → 11

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
48×pow1
44×tan-quot
27×associate-*l/
26×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/
11×add-sqr-sqrt prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-/l/
frac-sub
flip3-- flip--
associate-*r* associate-*l* pow-sqr pow-prod-up add-log-exp
cube-div pow-unpow times-frac associate-/l*
cbrt-undiv pow-pow flip3-+ pow-plus div-exp frac-add pow-exp associate-/r/ *-commutative flip-+ rem-cube-cbrt
pow2 cube-mult pow-to-exp unpow-prod-down frac-2neg unpow3 div-sub cube-prod swap-sqr clear-num associate-/r* div-inv unswap-sqr sqr-pow
Counts
4 → 127
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
17.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (pow (* (tan y) (tan z)) 3)) (cos a)))
11.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
6.0ms
(pow (* (tan y) (tan z)) 3)

series844.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan y) (tan z))
517.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (pow (* (tan y) (tan z)) 3)) (cos a)))
112.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))
122.0ms
(pow (* (tan y) (tan z)) 3)

simplify123.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
08121495
144531335
250011331

prune569.0ms

Filtered
139 candidates to 88 candidates (63.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1381139
Fresh01010
Picked101
Done000
Total13911150

Merged error: 0.1b

Counts
150 → 11

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)
25.6b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×tan-quot
14×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
cbrt-prod
cube-div associate-*r* associate-*l*
frac-times associate-*r/ associate-*l/ add-log-exp
pow-unpow cbrt-div pow-prod-down prod-exp cbrt-unprod
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-exp *-commutative rem-cube-cbrt unswap-sqr sqr-pow
pow-to-exp pow1/3 rem-cbrt-cube
Counts
4 → 87
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
5.0ms
(pow (* (tan y) (tan z)) 3)
4.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series399.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan y) (tan z))
92.0ms
(* (tan y) (tan z))
127.0ms
(pow (* (tan y) (tan z)) 3)
88.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify45.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0263510
11337490
25002489

prune356.0ms

Filtered
99 candidates to 72 candidates (72.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh01010
Picked011
Done000
Total9911110

Merged error: 0.1b

Counts
110 → 11

regimes582.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13022

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s3896×body1280valid
522.0ms8000×pre80true
501.0ms2062×body640valid
119.0ms714×body320valid
54.0ms1072×body80valid
29.0ms256×body160valid

Profiling

Loading profile data...