Details

Time bar (total: 8.0s)

sample100.0ms

Algorithm
intervals
Results
49.0ms124×body1280valid
13.0ms59×body640valid
10.0ms256×pre80true
4.0ms28×body320valid
2.0ms33×body80valid
1.0ms12×body160valid

simplify20.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.0b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series295.0ms

Counts
3 → 9
Calls
3 calls:
127.0ms
(+ x (- (tan (+ y z)) (tan a)))
118.0ms
(- (tan (+ y z)) (tan a))
51.0ms
(tan (+ y z))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune143.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 0.1b

Counts
52 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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 associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times 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 → 67
Calls
4 calls:
19.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(+ (tan y) (tan z))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))

series898.0ms

Counts
4 → 12
Calls
4 calls:
334.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
93.0ms
(+ (tan y) (tan z))
378.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
93.0ms
(* (tan y) (tan z))

simplify80.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune263.0ms

Filtered
79 candidates to 59 candidates (74.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New72779
Fresh426
Picked101
Done000
Total77986

Merged error: 0.0b

Counts
86 → 9

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos y) (sin z))
0.2b
(* (sin y) (cos z))
0.2b
(* (tan y) (tan z))
0.3b
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

rewrite27.0ms

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

series325.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cos y) (sin z))
42.0ms
(* (sin y) (cos z))
92.0ms
(* (tan y) (tan z))
144.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (cos y) (cos z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0425757
11759645
25001645

prune375.0ms

Filtered
94 candidates to 68 candidates (72.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New93194
Fresh178
Picked101
Done000
Total958103

Merged error: 0.0b

Counts
103 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))
0.6b
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
1.7b
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
22×*-un-lft-identity
18×cbrt-prod
12×add-cube-cbrt unpow-prod-down cube-prod
10×difference-of-squares
tan-quot pow1 add-exp-log add-cbrt-cube
cube-div add-log-exp
times-frac distribute-lft-out--
pow-unpow cbrt-div flip3-- associate-*r* associate-*l* frac-sub flip--
cube-mult unpow3 sqr-pow
frac-times pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 99
Calls
4 calls:
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
6.0ms
(* (tan y) (tan z))
14.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
14.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

series1.6s

Counts
4 → 12
Calls
4 calls:
362.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
88.0ms
(* (tan y) (tan z))
785.0ms
(pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3)
377.0ms
(cbrt (pow (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)) 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04101748
115331668
250011660

prune273.0ms

Filtered
111 candidates to 68 candidates (61.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1110111
Fresh077
Picked011
Done000
Total1118119

Merged error: 0.0b

Counts
119 → 8

regimes445.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.6s3896×body1280valid
433.0ms1943×body640valid
314.0ms8000×pre80true
108.0ms712×body320valid
53.0ms1141×body80valid
32.0ms308×body160valid