Details

Time bar (total: 15.6s)

sample949.0ms

Algorithm
intervals
Results
45.0ms103×body1280valid
20.0ms77×body640valid
18.0ms256×pre80true
10.0msbody160valid
5.0ms25×body320valid
2.0ms42×body80valid

simplify275.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

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

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.2b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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))

series111.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune91.0ms

Filtered
51 candidates to 39 candidates (23.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New45651
Fresh000
Picked101
Done000
Total46652

Merged error: 0.1b

Counts
52 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series228.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (+ (tan y) (tan z)) (cos a))
23.0ms
(* (tan y) (tan z))
21.0ms
(* (tan y) (tan z))
150.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify72.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05871304
127011144
250031128

prune185.0ms

Filtered
108 candidates to 83 candidates (23.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1035108
Fresh145
Picked101
Done000
Total1059114

Merged error: 0.0b

Counts
114 → 9

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite226.0ms

Algorithm
rewrite-expression-head
Rules
1167×associate-*l/
1062×tan-quot
813×frac-sub
732×frac-times
391×associate-/l/
321×flip3-- flip--
318×associate-*r/
156×flip3-+ flip-+
39×add-exp-log add-cbrt-cube
35×associate-/r/
26×pow1
18×prod-exp cbrt-unprod
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×pow-prod-down
cbrt-undiv div-exp
associate-*r* associate-*l* sub-div add-log-exp
cube-div pow-unpow times-frac swap-sqr associate-/l*
pow-pow pow-exp *-commutative rem-cube-cbrt
pow2 cube-mult pow-to-exp unpow-prod-down frac-2neg pow-plus unpow3 div-sub cube-prod clear-num associate-/r* pow-sqr pow-prod-up div-inv unswap-sqr sqr-pow
Counts
4 → 564
Calls
4 calls:
25.0ms
(* (* (+ (* (* (tan y) (tan z)) (+ (* (tan y) (tan z)) 1)) 1) (- (tan y) (tan z))) (* (- 1 (* (tan y) (tan z))) (cos a)))
5.0ms
(* (tan z) (tan z))
5.0ms
(pow (* (tan y) (tan z)) 3)
95.0ms
(/ (- (* (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (+ (* 1 1) (+ (* (* (tan y) (tan z)) (* (tan y) (tan z))) (* 1 (* (tan y) (tan z)))))) (* (- (tan y) (tan z)) (* (- (pow 1 3) (pow (* (tan y) (tan z)) 3)) (sin a)))) (* (* (+ (* (* (tan y) (tan z)) (+ (* (tan y) (tan z)) 1)) 1) (- (tan y) (tan z))) (* (- 1 (* (tan y) (tan z))) (cos a))))

series1.0s

Counts
4 → 12
Calls
4 calls:
156.0ms
(* (* (+ (* (* (tan y) (tan z)) (+ (* (tan y) (tan z)) 1)) 1) (- (tan y) (tan z))) (* (- 1 (* (tan y) (tan z))) (cos a)))
9.0ms
(* (tan z) (tan z))
37.0ms
(pow (* (tan y) (tan z)) 3)
842.0ms
(/ (- (* (* (- (* (tan y) (tan y)) (* (tan z) (tan z))) (cos a)) (+ (* 1 1) (+ (* (* (tan y) (tan z)) (* (tan y) (tan z))) (* 1 (* (tan y) (tan z)))))) (* (- (tan y) (tan z)) (* (- (pow 1 3) (pow (* (tan y) (tan z)) 3)) (sin a)))) (* (* (+ (* (* (tan y) (tan z)) (+ (* (tan y) (tan z)) 1)) 1) (- (tan y) (tan z))) (* (- 1 (* (tan y) (tan z))) (cos a))))

simplify283.0ms

Algorithm
egg-herbie
Counts
576 → 576
Iterations

Useful iterations: 1 (86.0ms)

IterNodesCost
0414927232
1500126944

prune6.3s

Filtered
576 candidates to 536 candidates (6.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New5742576
Fresh178
Picked101
Done000
Total5769585

Merged error: 0.0b

Counts
585 → 9

localize26.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 (cbrt (pow (* (tan y) (tan z)) 3))) (cos a)))
0.3b
(pow (* (tan y) (tan z)) 3)
23.8b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*l/
16×tan-quot
14×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1
cbrt-prod associate-/l/
cube-div frac-sub
flip3-- flip--
add-log-exp
frac-times pow-unpow cbrt-div times-frac associate-*r/ associate-*r* associate-*l* prod-exp cbrt-unprod associate-/l*
cbrt-undiv cube-mult unpow-prod-down pow-pow flip3-+ unpow3 cube-prod div-exp pow-prod-down frac-add pow-exp associate-/r/ flip-+ rem-cube-cbrt sqr-pow
pow-to-exp frac-2neg pow1/3 div-sub clear-num associate-/r* *-commutative rem-cbrt-cube div-inv unswap-sqr
Counts
4 → 98
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 (cbrt (pow (* (tan y) (tan z)) 3))) (cos a)))
5.0ms
(pow (* (tan y) (tan z)) 3)
6.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series226.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (tan y) (tan z))
148.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (cbrt (pow (* (tan y) (tan z)) 3))) (cos a)))
35.0ms
(pow (* (tan y) (tan z)) 3)
22.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify89.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06421367
133081172
250011166

prune154.0ms

Filtered
110 candidates to 83 candidates (24.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh268
Picked011
Done000
Total1118119

Merged error: 0.0b

Counts
119 → 8

regimes1.2s

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
03022
13022

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.7s3890×body1280valid
549.0ms8000×pre80true
488.0ms1988×body640valid
119.0ms703×body320valid
61.0ms1136×body80valid
33.0ms283×body160valid

Profiling

Loading profile data...