Details

Time bar (total: 9.8s)

sample167.0ms

Algorithm
intervals
Results
93.0ms121×body1280valid
29.0ms65×body640valid
10.0ms256×pre80true
5.0ms16×body320valid
4.0ms42×body80valid
2.0ms12×body160valid

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

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.4b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))
2.6b
(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:
7.0ms
(- (tan (+ y z)) (tan a))
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
3.0ms
(tan (+ y z))

series279.0ms

Counts
3 → 9
Calls
3 calls:
110.0ms
(- (tan (+ y z)) (tan a))
120.0ms
(+ x (- (tan (+ y z)) (tan a)))
49.0ms
(tan (+ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune146.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ (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))

rewrite48.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:
13.0ms
(* (+ (tan y) (tan z)) (cos a))
22.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))

series793.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(* (+ (tan y) (tan z)) (cos a))
468.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
90.0ms
(* (tan y) (tan z))
90.0ms
(* (tan y) (tan z))

simplify73.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05871304
126941144
250011128

prune478.0ms

Filtered
108 candidates to 83 candidates (76.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series746.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (* (sin y) (tan z)) (cos y))
474.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (sin y) (tan z)) (cos y))) (cos a)))
91.0ms
(* (tan y) (tan z))
78.0ms
(* (sin y) (tan z))

simplify82.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06321390
130291206
250011206

prune534.0ms

Filtered
106 candidates to 81 candidates (76.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×tan-quot
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
cbrt-prod
cube-div associate-*r* associate-*l*
associate-*r/ add-log-exp
frac-times pow-unpow cbrt-div pow-prod-down associate-*l/ 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 → 85
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
4.0ms
(* (sin y) (tan z))
4.0ms
(pow (* (tan y) (tan z)) 3)
3.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series380.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (tan y) (tan z))
78.0ms
(* (sin y) (tan z))
120.0ms
(pow (* (tan y) (tan z)) 3)
90.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0315501
11578480
25001479

prune469.0ms

Filtered
97 candidates to 69 candidates (71.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes493.0ms

Accuracy

0% (0.1b 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
03524
13524

end0.0ms

sample4.9s

Algorithm
intervals
Results
3.0s3953×body1280valid
880.0ms1932×body640valid
311.0ms8000×pre80true
205.0ms710×body320valid
99.0ms1137×body80valid
60.0ms268×body160valid